SQLSelect — union array not initialized & name mismatch
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 55/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Stale
- Tech stack
- visualbasic
- Domain
- databases
Research direction
Read src/ClassModules/SQLSelect.cls, focusing on the declarations and Class_Initialize, then trace the UNION append and iteration paths. Done means the declared array name matches its references, it is initialized before UNION use, and the reproduction steps no longer fail or produce incorrect SQL.
Written by the indexing model from the issue text.
Description
SQLSelect: initialize aUnion and fix name mismatch
- Component:
src/ClassModules/SQLSelect.cls(declarations and initializer)
Problem
- Declares
sUnion()while other code referencesaUnion(); not initialized inClass_Initialize.
Expected
Private aUnion() As Variant
Private Sub Class_Initialize()
ReDim aJoin(0)
ReDim vFields(0)
ReDim aOrder(0)
ReDim aUnion(0)
' ...
End Sub
Steps to Reproduce
- Use UNION features without prior array setup.
Actual
- Append/iteration fails or produces wrong SQL.
Proposed Fix
- Rename to
aUnionandReDimin initializer.
- Dominant language
- VBA
- Stars
- 90
- Forks
- 18
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Beakerboy/VBA-SQL-Library
-
Difficulty 1/5 Under an hour Newbie friendliness 55/100
Beakerboy/VBA-SQL-Library#67 ·
-
Difficulty 1/5 1-3 hours Newbie friendliness 52/100
Beakerboy/VBA-SQL-Library#66 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 55/100
Beakerboy/VBA-SQL-Library#65 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 55/100
Beakerboy/VBA-SQL-Library#64 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 55/100
Beakerboy/VBA-SQL-Library#63 ·
All issues in Beakerboy/VBA-SQL-Library
Similar issues
-
Add: BuyPass TV Openchannels:add check:passed
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
use-agent-os/agent-os#3312 ·
-
documentation help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
HarperFast/documentation#677 ·