summaryrefslogtreecommitdiff
path: root/sql/sql_truncate.cc
diff options
context:
space:
mode:
authorJon Olav Hauglid <jon.hauglid@oracle.com>2010-07-13 10:39:24 +0200
committerJon Olav Hauglid <jon.hauglid@oracle.com>2010-07-13 10:39:24 +0200
commitf45523188e57575eeed5f7fbe8fbefc06de4b6f3 (patch)
tree74d63cef81d432cda2315d47976755590872f3bd /sql/sql_truncate.cc
parent7f0f32d659c5e3eff1d6ed6249cad59ff6df5723 (diff)
parent071636d6fa25909510e3d222d2ed1d919625f55d (diff)
downloadmariadb-git-f45523188e57575eeed5f7fbe8fbefc06de4b6f3.tar.gz
merge from mysql-trunk-bugfixing
Diffstat (limited to 'sql/sql_truncate.cc')
-rw-r--r--sql/sql_truncate.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_truncate.cc b/sql/sql_truncate.cc
index 6bbf86cbe55..ee5c707cd69 100644
--- a/sql/sql_truncate.cc
+++ b/sql/sql_truncate.cc
@@ -216,7 +216,7 @@ static bool recreate_temporary_table(THD *thd, TABLE *table)
rm_temporary_table(table_type, share->path.str);
free_table_share(share);
- my_free(table, MYF(0));
+ my_free(table);
DBUG_RETURN(error);
}