mirror of
https://github.com/postgres/postgres.git
synced 2025-06-25 01:02:05 +03:00
1) Improve literal handling in parse_statement().
2) Remove some no longer valid comments. 3) Fix an option dialog setting bug. 4) Fix ODBCVER handling errors.
This commit is contained in:
@ -178,7 +178,7 @@ set_statement_option(ConnectionClass *conn,
|
||||
/* "0" returned in SQLGetStmtOption */
|
||||
break;
|
||||
|
||||
case SQL_RETRIEVE_DATA: /* ignored, but saved */
|
||||
case SQL_RETRIEVE_DATA:
|
||||
mylog("SetStmtOption(): SQL_RETRIEVE_DATA, vParam = %d\n", vParam);
|
||||
if (conn)
|
||||
conn->stmtOptions.retrieve_data = vParam;
|
||||
@ -636,7 +636,7 @@ PGAPI_GetStmtOption(
|
||||
*((SDWORD *) pvParam) = 0;
|
||||
break;
|
||||
|
||||
case SQL_RETRIEVE_DATA: /* NOT SUPPORTED, but saved */
|
||||
case SQL_RETRIEVE_DATA:
|
||||
*((SDWORD *) pvParam) = stmt->options.retrieve_data;
|
||||
break;
|
||||
|
||||
|
Reference in New Issue
Block a user