Beakerboy / Beakerboy/VBA-SQL-Library

SQLSubselect — Property Get returns wrong variable

Đang mở
#65 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
VBA
Star
90
Fork
18
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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`.

---

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

Open src/ClassModules/SQLSubselect.cls and inspect the SelectAs property getter around lines 0–39, comparing it with the backing fields used by the class. Verify that reading SelectAs from an instance returns the stored alias value without an empty result or compile/runtime error.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
sql, visualbasic
Lĩnh vực
databases
Loại issue
Lỗi
Độ khó
1/5
Thời gian dự kiến
Dưới một giờ
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Đặc tả rõ ràng
Mức phù hợp với người mới
55/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.