summaryrefslogtreecommitdiff
path: root/sql/sql_prepare.cc
diff options
context:
space:
mode:
authorKonstantin Osipov <kostja@sun.com>2009-12-01 01:13:06 +0300
committerKonstantin Osipov <kostja@sun.com>2009-12-01 01:13:06 +0300
commitf56cc2a3351eff1c7c01706ad8b93dad5770ed93 (patch)
treedfab0cc24f138936eeae5dd70d68cbd515324a87 /sql/sql_prepare.cc
parent3d19fdad34c5fa23ac800a0b4819325ee66d8bd4 (diff)
downloadmariadb-git-f56cc2a3351eff1c7c01706ad8b93dad5770ed93.tar.gz
Backport of:
------------------------------------------------------------ revno: 2630.4.16 committer: Dmitry Lenev <dlenev@mysql.com> branch nick: mysql-6.0-3726-w timestamp: Thu 2008-05-29 09:45:02 +0400 message: WL#3726 "DDL locking for all metadata objects". After review changes in progress. Tweaked some comments and did some renames to avoid ambiguites.
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 582e18a3abf..5efa0cea7a9 100644
--- a/sql/sql_prepare.cc
+++ b/sql/sql_prepare.cc
@@ -1673,7 +1673,7 @@ static bool mysql_test_create_table(Prepared_statement *stmt)
if (!(lex->create_info.options & HA_LEX_CREATE_TMP_TABLE))
{
lex->link_first_table_back(create_table, link_to_local);
- create_table->open_table_type= TABLE_LIST::OPEN_OR_CREATE;
+ create_table->open_type= TABLE_LIST::OPEN_OR_CREATE;
}
if (open_normal_and_derived_tables(stmt->thd, lex->query_tables, 0))