fix for MDEV-4797
This commit is contained in:
parent
820e593168
commit
ed2eb25799
@ -11347,7 +11347,7 @@ int ha_spider::rnd_handler_init()
|
|||||||
|
|
||||||
void ha_spider::set_error_mode()
|
void ha_spider::set_error_mode()
|
||||||
{
|
{
|
||||||
THD *thd = trx->thd;
|
THD *thd = ha_thd();
|
||||||
DBUG_ENTER("ha_spider::set_error_mode");
|
DBUG_ENTER("ha_spider::set_error_mode");
|
||||||
DBUG_PRINT("info",("spider this=%p", this));
|
DBUG_PRINT("info",("spider this=%p", this));
|
||||||
switch (thd_sql_command(thd))
|
switch (thd_sql_command(thd))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user