Commit ed2eb257 authored by Kentoku SHIBA's avatar Kentoku SHIBA

fix for MDEV-4797

parent 820e5931
...@@ -11347,7 +11347,7 @@ int ha_spider::rnd_handler_init() ...@@ -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))
......
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