summaryrefslogtreecommitdiff
path: root/sql/sql_string.cc
diff options
context:
space:
mode:
authorgkodinov/kgeorge@magare.gmz <>2007-11-23 12:26:19 +0200
committergkodinov/kgeorge@magare.gmz <>2007-11-23 12:26:19 +0200
commit784b5d7b724acec0ada82587ffa7b5ac7144ced7 (patch)
tree03241a63158659c5a63a0034f2f6c4a7a6b6c605 /sql/sql_string.cc
parent5f1966d1726a81a3951a365a3dfca68d869c1e7b (diff)
parent3f163915bf4d7006f94a8c94814b7fdae3de03ad (diff)
downloadmariadb-git-784b5d7b724acec0ada82587ffa7b5ac7144ced7.tar.gz
Merge magare.gmz:/home/kgeorge/mysql/work/mysql-5.0-opt
into magare.gmz:/home/kgeorge/mysql/work/merge-5.1-opt
Diffstat (limited to 'sql/sql_string.cc')
-rw-r--r--sql/sql_string.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/sql/sql_string.cc b/sql/sql_string.cc
index a8eb7360339..2e076af45eb 100644
--- a/sql/sql_string.cc
+++ b/sql/sql_string.cc
@@ -846,7 +846,7 @@ outp:
with optional left padding (for binary -> UCS2 conversion)
SYNOPSIS
- well_formed_copy_nhars()
+ well_formed_copy_nchars()
to Store result here
to_length Maxinum length of "to" string
to_cs Character set of "to" string
@@ -983,7 +983,10 @@ outp:
goto outp;
}
else
+ {
+ from= from_prev;
break;
+ }
}
*from_end_pos= from;
res= to - to_start;