diff options
author | jimw@mysql.com <> | 2005-11-23 16:49:07 -0800 |
---|---|---|
committer | jimw@mysql.com <> | 2005-11-23 16:49:07 -0800 |
commit | 69cf72710df8d3e24f0f67944c8146d62afb0934 (patch) | |
tree | e6983101192aea260faa9fcefcfd33221f07b792 /mysql-test/r/func_str.result | |
parent | 63554e10d821f2b8b4154701551f45fd6b3db4ff (diff) | |
download | mariadb-git-69cf72710df8d3e24f0f67944c8146d62afb0934.tar.gz |
Fix possible corruption of results from SUBSTRING_INDEX(). (Bug #14676)
Diffstat (limited to 'mysql-test/r/func_str.result')
-rw-r--r-- | mysql-test/r/func_str.result | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/mysql-test/r/func_str.result b/mysql-test/r/func_str.result index a305bf20bff..911d6eea033 100644 --- a/mysql-test/r/func_str.result +++ b/mysql-test/r/func_str.result @@ -1023,3 +1023,10 @@ select format(d, 2) from t1; format(d, 2) NULL drop table t1; +create table t1 (c varchar(40)); +insert into t1 values ('y,abc'),('y,abc'); +select c, substring_index(lcase(c), @q:=',', -1) as res from t1; +c res +y,abc abc +y,abc abc +drop table t1; |