diff options
author | Jon Olav Hauglid <jon.hauglid@oracle.com> | 2010-07-13 10:39:24 +0200 |
---|---|---|
committer | Jon Olav Hauglid <jon.hauglid@oracle.com> | 2010-07-13 10:39:24 +0200 |
commit | f45523188e57575eeed5f7fbe8fbefc06de4b6f3 (patch) | |
tree | 74d63cef81d432cda2315d47976755590872f3bd /sql/sql_handler.cc | |
parent | 7f0f32d659c5e3eff1d6ed6249cad59ff6df5723 (diff) | |
parent | 071636d6fa25909510e3d222d2ed1d919625f55d (diff) | |
download | mariadb-git-f45523188e57575eeed5f7fbe8fbefc06de4b6f3.tar.gz |
merge from mysql-trunk-bugfixing
Diffstat (limited to 'sql/sql_handler.cc')
-rw-r--r-- | sql/sql_handler.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/sql_handler.cc b/sql/sql_handler.cc index e49da2b0423..8e38cf5eed0 100644 --- a/sql/sql_handler.cc +++ b/sql/sql_handler.cc @@ -109,7 +109,7 @@ static char *mysql_ha_hash_get_key(TABLE_LIST *tables, size_t *key_len_p, static void mysql_ha_hash_free(TABLE_LIST *tables) { - my_free((char*) tables, MYF(0)); + my_free(tables); } /** @@ -259,7 +259,7 @@ bool mysql_ha_open(THD *thd, TABLE_LIST *tables, bool reopen) /* add to hash */ if (my_hash_insert(&thd->handler_tables_hash, (uchar*) hash_tables)) { - my_free((char*) hash_tables, MYF(0)); + my_free(hash_tables); DBUG_PRINT("exit",("ERROR")); DBUG_RETURN(TRUE); } |