diff options
-rw-r--r-- | sql/sql_class.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/sql_class.cc b/sql/sql_class.cc index 02cf8a73c08..611a1cb3b4e 100644 --- a/sql/sql_class.cc +++ b/sql/sql_class.cc @@ -301,7 +301,8 @@ void THD::add_changed_table(TABLE *table) DBUG_ASSERT((options & (OPTION_NOT_AUTOCOMMIT | OPTION_BEGIN)) && table->file->has_transactions()); - DBUG_RETURN(add_changed_table(table->table_cache_key, table->key_length)); + add_changed_table(table->table_cache_key, table->key_length); + DBUG_VOID_RETURN; } void THD::add_changed_table(const char *key, long key_length) |