summaryrefslogtreecommitdiff
path: root/sql/handler.cc
diff options
context:
space:
mode:
authormonty@tik.mysql.com <>2000-12-15 10:58:17 +0200
committermonty@tik.mysql.com <>2000-12-15 10:58:17 +0200
commitb186b4f27a1bdb32cc28350af3c4974da669f510 (patch)
treeaf18dadc582d3cff29172087140d13e2a78fecac /sql/handler.cc
parent36c7d4eb024fc36b6bf6b54d68ada84cfd1cd42c (diff)
downloadmariadb-git-b186b4f27a1bdb32cc28350af3c4974da669f510.tar.gz
Fixed that LPAD() and RPAD() cuts arguments
New test for string functions
Diffstat (limited to 'sql/handler.cc')
-rw-r--r--sql/handler.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/handler.cc b/sql/handler.cc
index 24bf16b3604..930bfa2ed28 100644
--- a/sql/handler.cc
+++ b/sql/handler.cc
@@ -615,7 +615,7 @@ void handler::print_error(int error, myf errflag)
uint handler::get_dup_key(int error)
{
- DBUG_ENTER("key_error");
+ DBUG_ENTER("get_dup_key");
table->file->errkey = (uint) -1;
if (error == HA_ERR_FOUND_DUPP_KEY || error == HA_ERR_FOUND_DUPP_UNIQUE)
info(HA_STATUS_ERRKEY | HA_STATUS_NO_LOCK);