summaryrefslogtreecommitdiff
path: root/sql/rpl_rli.cc
diff options
context:
space:
mode:
authorKonstantin Osipov <kostja@sun.com>2009-12-04 02:52:05 +0300
committerKonstantin Osipov <kostja@sun.com>2009-12-04 02:52:05 +0300
commita3a23ec4d3b9d9c22b8bdbc9adf2cd0f157c6a3f (patch)
tree6865c45e4fd723b4972eb4705acf049a4d4f9fff /sql/rpl_rli.cc
parent195adcd201b78357ebdf8a30777d3f867829418a (diff)
downloadmariadb-git-a3a23ec4d3b9d9c22b8bdbc9adf2cd0f157c6a3f.tar.gz
Backport of:
---------------------------------------------------------- revno: 2617.23.20 committer: Konstantin Osipov <kostja@sun.com> branch nick: mysql-6.0-runtime timestamp: Wed 2009-03-04 16:31:31 +0300 message: WL#4284 "Transactional DDL locking" Review comments: "Objectify" the MDL API. MDL_request and MDL_context still need manual construction and destruction, since they are used in environment that is averse to constructors/destructors.
Diffstat (limited to 'sql/rpl_rli.cc')
-rw-r--r--sql/rpl_rli.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/rpl_rli.cc b/sql/rpl_rli.cc
index 0a703475aa7..695b160fc01 100644
--- a/sql/rpl_rli.cc
+++ b/sql/rpl_rli.cc
@@ -1205,7 +1205,7 @@ void Relay_log_info::clear_tables_to_lock()
meta-data locks are stored. So we want to be sure that we don't have
any references to this memory left.
*/
- DBUG_ASSERT(!mdl_has_locks(&(current_thd->mdl_context)));
+ DBUG_ASSERT(!current_thd->mdl_context.has_locks());
while (tables_to_lock)
{