scope issue fix thanks to Юрий Кудинов

This commit is contained in:
Adam D. Ruppe 2020-07-02 09:39:52 -04:00
parent c8189e1027
commit a07fb24c1e
1 changed files with 2 additions and 2 deletions

View File

@ -158,11 +158,11 @@ class MsSqlResult : ResultSet {
r.resultSet = this; r.resultSet = this;
string[] row; string[] row;
SQLLEN ptr;
for(int i = 0; i < numFields; i++) { for(int i = 0; i < numFields; i++) {
string a; string a;
SQLLEN ptr;
more: more:
SQLCHAR[1024] buf; SQLCHAR[1024] buf;
if(SQLGetData(statement, cast(ushort)(i+1), SQL_CHAR, buf.ptr, 1024, &ptr) != SQL_SUCCESS) if(SQLGetData(statement, cast(ushort)(i+1), SQL_CHAR, buf.ptr, 1024, &ptr) != SQL_SUCCESS)