blob: febd474e7c47c142515fad733fc03b04347efda4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
--- src/resultsetmetadata.cpp.orig Sun Nov 12 13:38:01 2006
+++ src/resultsetmetadata.cpp Sun Nov 12 13:38:32 2006
@@ -39,7 +39,7 @@
int ResultSetMetaData::_getNumericAttribute(unsigned int col,
SQLUSMALLINT attr)
{
- SQLINTEGER res=0;
+ SQLLEN res=0;
SQLRETURN r=
ODBC3_C(SQLColAttribute,SQLColAttributes)(resultSet_->hstmt_,
(SQLUSMALLINT)col,
@@ -63,7 +63,7 @@
odbc::Deleter<char> _buf(buf,true);
buf[maxlen]=0;
- SQLINTEGER res=0;
+ SQLLEN res=0;
SQLSMALLINT len=0;
SQLRETURN r=
|