summaryrefslogtreecommitdiff
path: root/sql/lock.cc
diff options
context:
space:
mode:
authorChad MILLER <chad@mysql.com>2008-07-14 16:16:37 -0400
committerChad MILLER <chad@mysql.com>2008-07-14 16:16:37 -0400
commitdae4c823e96ee514334a65de01b10c479b671bd0 (patch)
tree6009880c2c51b3422d95a760220fb7a20ebdb3e0 /sql/lock.cc
parentc94a46240a912bd71d6ec961132ae3e6f4746bd5 (diff)
parent443698a56d078915cc31850b40d7ae3206cda29e (diff)
downloadmariadb-git-dae4c823e96ee514334a65de01b10c479b671bd0.tar.gz
Merge from 5.0 trunk.
Diffstat (limited to 'sql/lock.cc')
-rw-r--r--sql/lock.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/lock.cc b/sql/lock.cc
index d0576202606..4927146d96b 100644
--- a/sql/lock.cc
+++ b/sql/lock.cc
@@ -703,7 +703,7 @@ static MYSQL_LOCK *get_lock_data(THD *thd, TABLE **table_ptr, uint count,
{
my_error(ER_WRONG_LOCK_OF_SYSTEM_TABLE, MYF(0), table_ptr[i]->s->db,
table_ptr[i]->s->table_name);
- return 0;
+ DBUG_RETURN(0);
}
}