projects
/
psqlodbc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a8fbc08
)
fixed variable length recognition in CC_mapping
author
Ludek Finstrle
<luf@pzkagis.cz>
Thu, 26 Jan 2006 19:24:51 +0000
(19:24 +0000)
committer
Ludek Finstrle
<luf@pzkagis.cz>
Thu, 26 Jan 2006 19:24:51 +0000
(19:24 +0000)
connection.c
patch
|
blob
|
blame
|
history
diff --git
a/connection.c
b/connection.c
index 9a797b898ce51790e5b3d3aaedc8cda7faaf635b..b7fe650c4dab41fe43521a175193795d0b40fa93 100644
(file)
--- a/
connection.c
+++ b/
connection.c
@@
-1924,7
+1924,7
@@
CC_mapping(ConnectionClass *self, PGresult *pgres,QResultClass *qres)
* (UNKNOWNS_AS_MAX), and UNKNOWNS_AS_LONGEST won't work because we don't
* have data at this point
*/
- if(typlen
== -1
)
+ if(typlen
< 0
)
{
switch (ci->drivers.unknown_sizes)
{