Commit 9193ceb2 authored by Olivier Bertrand's avatar Olivier Bertrand

Fix getting proper table type in discovery. modified storage/connect/ha_connect.cc

parent 17ea1efe
......@@ -170,7 +170,7 @@
#define JSONMAX 10 // JSON Default max grp size
extern "C" {
char version[]= "Version 1.07.0002 November 05, 2020";
char version[]= "Version 1.07.0002 November 13, 2020";
#if defined(__WIN__)
char compver[]= "Version 1.07.0002 " __DATE__ " " __TIME__;
char slash= '\\';
......@@ -6093,6 +6093,10 @@ static int connect_assisted_discovery(handlerton *, THD* thd,
goto err;
} // endif !nblin
// Restore language type
if (ttp == TAB_REST)
ttp = GetTypeID(topt->type);
for (i= 0; !rc && i < qrp->Nblin; i++) {
typ= len= prec= dec= flg= 0;
tm= NOT_NULL_FLAG;
......
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