diff options
author | unknown <marko@hundin.mysql.fi> | 2004-10-04 16:24:37 +0300 |
---|---|---|
committer | unknown <marko@hundin.mysql.fi> | 2004-10-04 16:24:37 +0300 |
commit | a31b8f24e447a517dc90a8da51f4c4d743b0c00f (patch) | |
tree | 3fa2831fe4d592451994e2ed802ca0edb3aba095 /innobase/row | |
parent | fcf273821a156693449c4d3e9e6e0ca19e36ef9f (diff) | |
download | mariadb-git-a31b8f24e447a517dc90a8da51f4c4d743b0c00f.tar.gz |
InnoDB: make ALTER TABLE to work on table names containing '#' (Bug #5856)
innobase/dict/dict0dict.c:
dict_strip_comments(): do not look for comments within quotes (Bug #5856)
innobase/row/row0mysql.c:
row_drop_table_for_mysql(): Remove a memory leak
Diffstat (limited to 'innobase/row')
-rw-r--r-- | innobase/row/row0mysql.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/innobase/row/row0mysql.c b/innobase/row/row0mysql.c index a23444df4ef..a884dc8d9ef 100644 --- a/innobase/row/row0mysql.c +++ b/innobase/row/row0mysql.c @@ -2051,6 +2051,7 @@ row_drop_table_for_mysql( memcpy(sql, str1, (sizeof str1) - 1); memcpy(sql + (sizeof str1) - 1, quoted_name, namelen); memcpy(sql + (sizeof str1) - 1 + namelen, str2, sizeof str2); + mem_free(quoted_name); /* Serialize data dictionary operations with dictionary mutex: no deadlocks can occur then in these operations */ |