mirror of https://github.com/adamdruppe/arsd.git
scope issue fix thanks to Юрий Кудинов
This commit is contained in:
parent
c8189e1027
commit
a07fb24c1e
4
mssql.d
4
mssql.d
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue