MDEV-13860 CONNECT engine does not build with JDBC without ODBC

Re-apply the patch cb1b466c0c,
the change disappeared after the merge
This commit is contained in:
Elena Stepanova 2017-10-27 03:17:23 +03:00
commit eadcf09bc4

View file

@ -5398,10 +5398,10 @@ static int connect_assisted_discovery(handlerton *, THD* thd,
#endif // __WIN__
//int hdr, mxe;
int port = 0, mxr = 0, rc = 0, mul = 0, lrecl = 0;
PCSZ tabtyp = NULL;
#if defined(ODBC_SUPPORT)
POPARM sop= NULL;
PCSZ ucnc= NULL;
PCSZ tabtyp = NULL;
bool cnc= false;
int cto= -1, qto= -1;
#endif // ODBC_SUPPORT