diff options
author | Mikael Ronstrom <mikael@mysql.com> | 2008-12-20 12:33:00 +0100 |
---|---|---|
committer | Mikael Ronstrom <mikael@mysql.com> | 2008-12-20 12:33:00 +0100 |
commit | 0e5081cf8565d4ebac474fe850b834870d060c45 (patch) | |
tree | 1d3168970d652f2ec9b7f6b798812c074f670004 /storage/blackhole | |
parent | c268f4318c97869e70e5306caa86b60e6e17701f (diff) | |
download | mariadb-git-0e5081cf8565d4ebac474fe850b834870d060c45.tar.gz |
Fixed missing declaration
Diffstat (limited to 'storage/blackhole')
-rw-r--r-- | storage/blackhole/ha_blackhole.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/storage/blackhole/ha_blackhole.cc b/storage/blackhole/ha_blackhole.cc index 305e36f18df..be747e2d1de 100644 --- a/storage/blackhole/ha_blackhole.cc +++ b/storage/blackhole/ha_blackhole.cc @@ -256,6 +256,7 @@ int ha_blackhole::index_read_last_map(uchar * buf, const uchar * key, int rc; DBUG_ENTER("ha_blackhole::index_read_last"); MYSQL_INDEX_READ_ROW_START(table_share->db.str, table_share->table_name.str); + THD *thd= ha_thd(); if (thd->system_thread == SYSTEM_THREAD_SLAVE_SQL && thd->query == NULL) rc= 0; else |