CONNECT: compilation fix
tabtyp was defined under ODBC_SUPPORT, but used outside of it too (under JDBC_SUPPORT).
This commit is contained in:
parent
db7fd021fe
commit
cb1b466c0c
@ -5379,10 +5379,10 @@ static int connect_assisted_discovery(handlerton *, THD* thd,
|
|||||||
#endif // __WIN__
|
#endif // __WIN__
|
||||||
//int hdr, mxe;
|
//int hdr, mxe;
|
||||||
int port = 0, mxr = 0, rc = 0, mul = 0, lrecl = 0;
|
int port = 0, mxr = 0, rc = 0, mul = 0, lrecl = 0;
|
||||||
|
PCSZ tabtyp = NULL;
|
||||||
#if defined(ODBC_SUPPORT)
|
#if defined(ODBC_SUPPORT)
|
||||||
POPARM sop= NULL;
|
POPARM sop= NULL;
|
||||||
PCSZ ucnc= NULL;
|
PCSZ ucnc= NULL;
|
||||||
PCSZ tabtyp = NULL;
|
|
||||||
bool cnc= false;
|
bool cnc= false;
|
||||||
int cto= -1, qto= -1;
|
int cto= -1, qto= -1;
|
||||||
#endif // ODBC_SUPPORT
|
#endif // ODBC_SUPPORT
|
||||||
|
Loading…
x
Reference in New Issue
Block a user