projects
/
psqlodbc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
653d1ce
)
Change updatable cursors for 'select func()' to not return
author
Hiroshi Inoue
<inoue@tpf.co.jp>
Mon, 21 Oct 2002 08:12:15 +0000
(08:12 +0000)
committer
Hiroshi Inoue
<inoue@tpf.co.jp>
Mon, 21 Oct 2002 08:12:15 +0000
(08:12 +0000)
an error(just changing the cursor to be read-only) per bug
report from Keisaku Sasaki.
convert.c
patch
|
blob
|
blame
|
history
diff --git
a/convert.c
b/convert.c
index 811740b7e6f42b3d6e0f5905875699dede603a71..e1cc297bcd29317dba2b4d598a55643eedc29e12 100644
(file)
--- a/
convert.c
+++ b/
convert.c
@@
-1696,7
+1696,8
@@
copy_statement_with_parameters(StatementClass *stmt)
if (stmt->parse_status == STMT_PARSE_FATAL)
{
stmt->options.scroll_concurrency = SQL_CONCUR_READ_ONLY;
- return SQL_ERROR;
+ if (stmt->options.cursor_type == SQL_CURSOR_KEYSET_DRIVEN)
+ stmt->options.cursor_type = SQL_CURSOR_STATIC;
}
else if (!stmt->updatable)
{