diff options
author | Kentoku SHIBA <kentokushiba@gmail.com> | 2013-07-31 03:14:57 +0900 |
---|---|---|
committer | Kentoku SHIBA <kentokushiba@gmail.com> | 2013-07-31 03:14:57 +0900 |
commit | ed2eb257994485a4e35663e9cb6af7a0c8c08a7d (patch) | |
tree | c1b810e98d49ddb7664b03a7cd7f14a96f5336b8 /storage/spider | |
parent | 820e5931683ecfae2f9ee03314df3a46c04de9d1 (diff) | |
download | mariadb-git-ed2eb257994485a4e35663e9cb6af7a0c8c08a7d.tar.gz |
fix for MDEV-4797
Diffstat (limited to 'storage/spider')
-rw-r--r-- | storage/spider/ha_spider.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/spider/ha_spider.cc b/storage/spider/ha_spider.cc index f2b79424ba0..6c12fa4493a 100644 --- a/storage/spider/ha_spider.cc +++ b/storage/spider/ha_spider.cc @@ -11347,7 +11347,7 @@ int ha_spider::rnd_handler_init() void ha_spider::set_error_mode() { - THD *thd = trx->thd; + THD *thd = ha_thd(); DBUG_ENTER("ha_spider::set_error_mode"); DBUG_PRINT("info",("spider this=%p", this)); switch (thd_sql_command(thd)) |