projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5be2182
)
Fix a coversation error with pre 6.4 versions.
author
Hiroshi Inoue
<inoue@tpf.co.jp>
Fri, 14 Sep 2001 01:50:33 +0000
(
01:50
+0000)
committer
Hiroshi Inoue
<inoue@tpf.co.jp>
Fri, 14 Sep 2001 01:50:33 +0000
(
01:50
+0000)
Hiroshi Inoue
src/interfaces/odbc/connection.c
patch
|
blob
|
blame
|
history
diff --git
a/src/interfaces/odbc/connection.c
b/src/interfaces/odbc/connection.c
index b055bd01444ea3bd284af816b40a4ca038c879dd..27bdc51cea28e84bd5b124a715c5151676ae0659 100644
(file)
--- a/
src/interfaces/odbc/connection.c
+++ b/
src/interfaces/odbc/connection.c
@@
-1272,6
+1272,18
@@
CC_send_query(ConnectionClass *self, char *query, QueryInfo *qi)
break;
}
}
+ /*
+ * If retres isn't set yet.
+ */
+ if (!retres)
+ {
+ if (res && QR_get_aborted(res))
+ retres = res;
+ else if (tuples_return)
+ retres = result_in;
+ else
+ retres = res;
+ }
/*
* set notice message to result_in.
*/