summaryrefslogtreecommitdiff
path: root/sql/sql_handler.cc
diff options
context:
space:
mode:
authorKonstantin Osipov <kostja@sun.com>2009-12-02 19:31:57 +0300
committerKonstantin Osipov <kostja@sun.com>2009-12-02 19:31:57 +0300
commitedddfa0ef45332973e59066ef94075134f48a7ee (patch)
treec7cd519ccaa3357e48161f2c078f2e22c00d2e56 /sql/sql_handler.cc
parent0a49fd92d90843f9cd49f98bb23a513b3f82b1b9 (diff)
downloadmariadb-git-edddfa0ef45332973e59066ef94075134f48a7ee.tar.gz
Backport of:
------------------------------------------------------------ revno: 2630.4.33 committer: Dmitry Lenev <dlenev@mysql.com> branch nick: mysql-6.0-3726-w2 timestamp: Fri 2008-06-20 17:11:20 +0400 message: WL#3726 "DDL locking for all metadata objects". After-review fixes in progress. Minimized dependency of mdl.cc on other modules (particularly made it independant of mysql_priv.h) in order to be able write unit tests for metadata locking subsystem.
Diffstat (limited to 'sql/sql_handler.cc')
-rw-r--r--sql/sql_handler.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_handler.cc b/sql/sql_handler.cc
index 9b30d8cec12..49d6cbaa447 100644
--- a/sql/sql_handler.cc
+++ b/sql/sql_handler.cc
@@ -247,7 +247,7 @@ bool mysql_ha_open(THD *thd, TABLE_LIST *tables, bool reopen)
&name, (uint) namelen,
&alias, (uint) aliaslen,
&mdl_lock_data, sizeof(MDL_LOCK_DATA),
- &mdlkey, MAX_DBKEY_LENGTH,
+ &mdlkey, MAX_MDLKEY_LENGTH,
NullS)))
{
DBUG_PRINT("exit",("ERROR"));