Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 377d131

Browse files
author
Hiroshi Inoue
committed
1) Most driver options could be set per DSN.
2) Keep FE/BE protocol more precisely. 3) Improve procedure calls. 4) A trial to avoid PREMATURE execution(#ifdef'd now). Hiroshi Inoue
1 parent 3bdd67a commit 377d131

30 files changed

+1221
-723
lines changed

src/interfaces/odbc/bind.c

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,8 +335,14 @@ PGAPI_ParamOptions(
335335
static char *func = "PGAPI_ParamOptions";
336336
StatementClass *stmt = (StatementClass *) hstmt;
337337

338-
mylog("%s: entering...\n", func);
338+
mylog("%s: entering... %d %x\n", func, crow, pirow);
339339

340+
if (crow == 1) /* temporary solution and must be rewritten later */
341+
{
342+
if (pirow)
343+
*pirow = 1;
344+
return SQL_SUCCESS;
345+
}
340346
stmt->errornumber = CONN_UNSUPPORTED_OPTION;
341347
stmt->errormsg = "Function not implemented";
342348
SC_log_error(func, "Function not implemented", (StatementClass *) hstmt);

0 commit comments

Comments
 (0)