Skip to content

Commit 9795cd0

Browse files
committed
Assume LOGINPROPERTY returns 4byte integer.
1 parent 6294114 commit 9795cd0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/tiny_tds/result.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,10 +213,10 @@ static VALUE rb_tinytds_result_fetch_row(VALUE self, ID timezone, int symbolize_
213213
val = INT2FIX(*(DBSMALLINT *)data);
214214
break;
215215
case SYBINT4:
216+
case 98: // https://git.io/v1ItA
216217
val = INT2NUM(*(DBINT *)data);
217218
break;
218219
case SYBINT8:
219-
case 98: // https://git.io/v1ItA
220220
val = LL2NUM(*(DBBIGINT *)data);
221221
break;
222222
case SYBBIT:

0 commit comments

Comments
 (0)