diff options
Diffstat (limited to 'sql/item_func.cc')
-rw-r--r-- | sql/item_func.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/item_func.cc b/sql/item_func.cc index c5274333008..94464bdc594 100644 --- a/sql/item_func.cc +++ b/sql/item_func.cc @@ -1406,7 +1406,7 @@ void item_user_lock_release(ULL *ull) char buf[256]; String tmp(buf,sizeof(buf)); tmp.length(0); - tmp.append("SELECT release_lock(\""); + tmp.append("DO RELEASE_LOCK(\""); tmp.append(ull->key,ull->key_length); tmp.append("\")"); save_errno=thd->net.last_errno; |