Beakerboy / Beakerboy/VBA-SQL-Library

SQLSelect — union array not initialized & name mismatch

オープン
#68 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
VBA
スター
90
フォーク
18
PR マージ指標
30日以内にマージされた PR はありません

説明

SQLSelect: initialize aUnion and fix name mismatch
- Component: `src/ClassModules/SQLSelect.cls` (declarations and initializer)

### Problem
- Declares `sUnion()` while other code references `aUnion()`; not initialized in `Class_Initialize`.

### Expected
```vb
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
1) Use UNION features without prior array setup.

### Actual
- Append/iteration fails or produces wrong SQL.

### Proposed Fix
- Rename to `aUnion` and `ReDim` in initializer.

---

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
visualbasic
領域
databases
issue の種類
バグ
難易度
1/5
見積もり時間
1時間未満
活発さ
停滞
明瞭さ
明確に書かれている
初心者へのやさしさ
55/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。