Beakerboy / Beakerboy/VBA-SQL-Library

SQLSubselect — Property Get returns wrong variable

Aperta
#65 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
VBA
Stelle
90
Fork
18
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

---

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
sql, visualbasic
Ambito
databases
Tipo di issue
Bug
Difficoltà
1/5
Tempo stimato
Meno di un'ora
Stato di attività
Ferma
Chiarezza
Specificata chiaramente
Idoneità per principianti
55/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.