diff options
author | Sergei Golubchik <sergii@pisem.net> | 2011-12-22 11:07:04 +0100 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2011-12-22 11:07:04 +0100 |
commit | a5e92c7e6d8a6540a63038e4b982599cec2d077f (patch) | |
tree | 6cb5d2f89ef1ad367986adacea3c50fa82b83b33 /storage | |
parent | 7b29727a5a730d9baef822418e899f8ac5302587 (diff) | |
download | mariadb-git-a5e92c7e6d8a6540a63038e4b982599cec2d077f.tar.gz |
compilation warning - unused variable
Diffstat (limited to 'storage')
-rw-r--r-- | storage/maria/ha_maria.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/maria/ha_maria.cc b/storage/maria/ha_maria.cc index 99a1e2cc903..04a97da9d8d 100644 --- a/storage/maria/ha_maria.cc +++ b/storage/maria/ha_maria.cc @@ -2430,8 +2430,8 @@ int ha_maria::extra_opt(enum ha_extra_function operation, ulong cache_size) int ha_maria::delete_all_rows() { - THD *thd= table->in_use; #ifdef EXTRA_DEBUG + THD *thd= table->in_use; TRN *trn= file->trn; if (trn && ! (trnman_get_flags(trn) & TRN_STATE_INFO_LOGGED)) { |