Skip to content

Commit 4b47467

Browse files
author
Hiroshi Inoue
committed
1) Implement SQLParamOptions().
2) Handle Multiple results and implement SQLMoreResult(). 3) Improve multibyte handling thanks to Eiji Tokuya. 4) Add new options. LF <-> CR/LF converion. TRUE is -1 (for VB). 5) Introduce unicode(UCS-2) support. 6) Reduce the length of connection strings. 7) Improve SQLError, SQLGetDiagRec(ODBC 3.0). 8) Implement SQLTablePrivileges(). 9) Miscellaneous changes for ODBC 3.0 support.
1 parent 21f8aa3 commit 4b47467

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+3862
-1395
lines changed

src/interfaces/odbc/bind.c

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Classes: BindInfoClass, ParameterInfoClass
88
*
99
* API functions: SQLBindParameter, SQLBindCol, SQLDescribeParam, SQLNumParams,
10-
* SQLParamOptions(NI)
10+
* SQLParamOptions
1111
*
1212
* Comments: See "notice.txt" for copyright and license information.
1313
*-------
@@ -331,17 +331,9 @@ PGAPI_ParamOptions(
331331

332332
mylog("%s: entering... %d %x\n", func, crow, pirow);
333333

334-
if (crow == 1) /* temporary solution and must be
335-
* rewritten later */
336-
{
337-
if (pirow)
338-
*pirow = 1;
339-
return SQL_SUCCESS;
340-
}
341-
stmt->errornumber = CONN_UNSUPPORTED_OPTION;
342-
stmt->errormsg = "Function not implemented";
343-
SC_log_error(func, "Function not implemented", (StatementClass *) hstmt);
344-
return SQL_ERROR;
334+
stmt->options.paramset_size = crow;
335+
stmt->options.param_processed_ptr = pirow;
336+
return SQL_SUCCESS;
345337
}
346338

347339

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy