SQLRequest: Do not quote "*" field name in Select() method.
[GB.DB] * NEW: SQLRequest: Do not quote "*" field name in Select() method.
This commit is contained in:
parent
d7dbc4ee58
commit
fd478d91b9
@ -132,9 +132,11 @@ Public Function _call() As String
|
||||
|
||||
For I = 0 To $aField.Max
|
||||
If I Then sReq &= ","
|
||||
aScan = Scan($aField[i], "* AS *")
|
||||
aScan = Scan($aField[I], "* AS *")
|
||||
If aScan.Count = 2 And If InStr(aScan[1], " ") = 0 Then
|
||||
sReq &= $aField[I]
|
||||
Else If $aField[I] = "*" Then
|
||||
sReq &= "*"
|
||||
Else
|
||||
sReq &= $hConn.Quote($aField[I])
|
||||
Endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user