diff options
author | Hiroshi Inoue | 2001-09-07 06:02:24 +0000 |
---|---|---|
committer | Hiroshi Inoue | 2001-09-07 06:02:24 +0000 |
commit | 377d131b6c351e0db1bed9cc393cdba3c1eaea56 (patch) | |
tree | 035e891fc630d0feac247d298e0d468710105d96 /src/interfaces/odbc/bind.c | |
parent | 3bdd67a20394288761528cf8d5bd77d629cde500 (diff) |
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
Diffstat (limited to 'src/interfaces/odbc/bind.c')
-rw-r--r-- | src/interfaces/odbc/bind.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/interfaces/odbc/bind.c b/src/interfaces/odbc/bind.c index 2fc340907a3..ce172365486 100644 --- a/src/interfaces/odbc/bind.c +++ b/src/interfaces/odbc/bind.c @@ -335,8 +335,14 @@ PGAPI_ParamOptions( static char *func = "PGAPI_ParamOptions"; StatementClass *stmt = (StatementClass *) hstmt; - mylog("%s: entering...\n", func); + mylog("%s: entering... %d %x\n", func, crow, pirow); + if (crow == 1) /* temporary solution and must be rewritten later */ + { + if (pirow) + *pirow = 1; + return SQL_SUCCESS; + } stmt->errornumber = CONN_UNSUPPORTED_OPTION; stmt->errormsg = "Function not implemented"; SC_log_error(func, "Function not implemented", (StatementClass *) hstmt); |