fixed a missing s48_enter_integer() in odbc_sql_fetch()
This commit is contained in:
parent
4651284138
commit
96238c00c8
|
@ -2048,7 +2048,7 @@ s48_value odbc_sql_fetch(s48_value stmt_handle)
|
|||
}
|
||||
case SQL_NO_DATA:
|
||||
{
|
||||
return SQL_NO_DATA;
|
||||
return s48_enter_integer(SQL_NO_DATA);
|
||||
}
|
||||
case SQL_STILL_EXECUTING:
|
||||
{
|
||||
|
@ -3579,7 +3579,7 @@ size_t sizeof_sql_c_type_identifier(SQLSMALLINT ctypeid)
|
|||
case SQL_C_CHAR: return sizeof(SQLCHAR);
|
||||
case SQL_C_SSHORT: case SQL_C_SHORT: return sizeof(SQLSMALLINT);
|
||||
case SQL_C_USHORT: return sizeof(SQLUSMALLINT);
|
||||
case SQL_C_SLONG: return sizeof(SQLINTEGER);
|
||||
case SQL_C_SLONG: case SQL_C_LONG: return sizeof(SQLINTEGER);
|
||||
case SQL_C_ULONG: return sizeof(SQLUINTEGER);
|
||||
case SQL_C_FLOAT: return sizeof(SQLREAL);
|
||||
case SQL_C_DOUBLE: return sizeof(SQLDOUBLE);
|
||||
|
|
Loading…
Reference in New Issue