summaryrefslogtreecommitdiff
path: root/sql/sql_prepare.cc
diff options
context:
space:
mode:
authorJon Olav Hauglid <jon.hauglid@sun.com>2010-05-04 16:33:42 +0200
committerJon Olav Hauglid <jon.hauglid@sun.com>2010-05-04 16:33:42 +0200
commitefe69e7c4249927054651490cb8479ba61c2630c (patch)
tree844e7fc6c86c77d6e20d019780c36d36a9d83897 /sql/sql_prepare.cc
parentf41933c436a0af49ab95131c347a78c8246da6ba (diff)
downloadmariadb-git-efe69e7c4249927054651490cb8479ba61c2630c.tar.gz
Followup to Bug#42546 Backup: RESTORE fails, thinking it finds an existing table
Fixes a bug where bool* was used as an argument to a function where the parameter was of type bool.
Diffstat (limited to 'sql/sql_prepare.cc')
-rw-r--r--sql/sql_prepare.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_prepare.cc b/sql/sql_prepare.cc
index 739b6576a99..c8f53235793 100644
--- a/sql/sql_prepare.cc
+++ b/sql/sql_prepare.cc
@@ -1708,7 +1708,7 @@ static bool mysql_test_create_table(Prepared_statement *stmt)
res= select_like_stmt_test(stmt, 0, 0);
- lex->link_first_table_back(create_table, &link_to_local);
+ lex->link_first_table_back(create_table, link_to_local);
}
else
{