summaryrefslogtreecommitdiff
path: root/sql/lock.cc
diff options
context:
space:
mode:
authorunknown <gkodinov/kgeorge@macbook.gmz>2008-03-29 17:50:46 +0200
committerunknown <gkodinov/kgeorge@macbook.gmz>2008-03-29 17:50:46 +0200
commit11714e6842f906901ac8e3ff9ac003ae0058fce7 (patch)
tree20c7a82def67fa930390fb9a78e3b2abbb661004 /sql/lock.cc
parent8ae5aa3bd81124ed4d3c7e74139b028fd091cefc (diff)
downloadmariadb-git-11714e6842f906901ac8e3ff9ac003ae0058fce7.tar.gz
fixed warnings from the fix of 26243
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 cf06be5f95f..47458702033 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);
}
}