Kaydet (Commit) c2602a4c authored tarafından Andrzej J.R. Hunt's avatar Andrzej J.R. Hunt

Use correct type for SQL_FLOAT. (firebird-sdbc)

Change-Id: Ic27e886643128edeb5b2d5c81e86681f4dd8d33b
üst fe8e3be8
...@@ -207,7 +207,7 @@ void firebird::mallocSQLVAR(XSQLDA* pSqlda) ...@@ -207,7 +207,7 @@ void firebird::mallocSQLVAR(XSQLDA* pSqlda)
pVar->sqldata = (char *)malloc(sizeof(long)); pVar->sqldata = (char *)malloc(sizeof(long));
break; break;
case SQL_FLOAT: case SQL_FLOAT:
pVar->sqldata = (char *)malloc(sizeof(double)); pVar->sqldata = (char *)malloc(sizeof(float));
break; break;
case SQL_DOUBLE: case SQL_DOUBLE:
pVar->sqldata = (char *)malloc(sizeof(double)); pVar->sqldata = (char *)malloc(sizeof(double));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment