Beakerboy / Beakerboy/VBA-SQL-Library
SQLSubselect — Property Get returns wrong variable
- 主要语言
- VBA
- 星标
- 90
- 派生
- 18
- PR 合并指标
- 30 天内没有已合并 PR
描述
SQLSubselect: SelectAs getter returns wrong variable
- Component: `src/ClassModules/SQLSubselect.cls` (around 0–39)
### Problem
- Getter returns an undefined identifier instead of the backing field.
### Snippet (actual)
```vb
Property Get SelectAs() As String
SelectAs = aAs
End Property
```
### Expected
```vb
Property Get SelectAs() As String
SelectAs = sAs
End Property
```
### Steps to Reproduce
1) Read `SelectAs` from an instance.
### Actual
- Returns empty/undefined; potential compile/runtime error.
### Proposed Fix
- Return `sAs`.
---
贡献指南
这个仓库没有索引到贡献指南
调研方向
打开 src/ClassModules/SQLSubselect.cls,检查第 0–39 行附近的 SelectAs 属性 getter,并将其与该类使用的后备字段进行比较。验证从实例读取 SelectAs 时会返回存储的别名值,不会得到空结果,也不会出现编译/运行时错误。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- sql, visualbasic
- 领域
- databases
- Issue 类型
- 缺陷
- 难度
- 1/5
- 预计耗时
- 1 小时以内
- 活跃度
- 停滞
- 描述清晰度
- 描述清楚
- 新手友好度
- 55/100