Commit fb1ff4e9 authored by Olivier Bertrand's avatar Olivier Bertrand

Fix a typo that caused CONNECT to crash on ODBC catalog tables

in ODBCDEF::DefineAM line 106

Modified:
tabodbc.cpp
parent c5233703
......@@ -103,7 +103,7 @@ bool ODBCDEF::DefineAM(PGLOBAL g, LPCSTR am, int poff)
Desc = Connect = Cat->GetStringCatInfo(g, Name, "Connect", "");
Tabname = Cat->GetStringCatInfo(g, Name, "Name",
(Catfunc & (FNC_TABLE || FNC_COL)) ? NULL : Name);
(Catfunc & (FNC_TABLE | FNC_COL)) ? NULL : Name);
Tabname = Cat->GetStringCatInfo(g, Name, "Tabname", Tabname);
Tabowner = Cat->GetStringCatInfo(g, Name, "Owner", "");
Tabqual = Cat->GetStringCatInfo(g, Name, "Qualifier", "");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment