diff options
author | jimw@mysql.com <> | 2005-02-02 08:21:11 -0800 |
---|---|---|
committer | jimw@mysql.com <> | 2005-02-02 08:21:11 -0800 |
commit | 5f0c4ff14026396d4da6cfbfd24bf4012529a74f (patch) | |
tree | f7feeb6b7dbdf2dd8b64422121decec13f0ae311 /mysql-test/t/func_str.test | |
parent | 4104f160cb9cbe8561ca5f4377dc08009fbf52d8 (diff) | |
parent | 2caee2b3f2aae444db4b75053e980116c7b8b465 (diff) | |
download | mariadb-git-5f0c4ff14026396d4da6cfbfd24bf4012529a74f.tar.gz |
Merge fixes for #8248, #5569.
Diffstat (limited to 'mysql-test/t/func_str.test')
-rw-r--r-- | mysql-test/t/func_str.test | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/mysql-test/t/func_str.test b/mysql-test/t/func_str.test index 34bbb2bab0f..2bf130d1538 100644 --- a/mysql-test/t/func_str.test +++ b/mysql-test/t/func_str.test @@ -195,6 +195,17 @@ select trim(trailing 'foo' from 'foo'); select trim(leading 'foo' from 'foo'); # +# crashing bug with QUOTE() and LTRIM() or TRIM() fixed +# Bug #7495 +# + +select quote(ltrim(concat(' ', 'a'))); +select quote(trim(concat(' ', 'a'))); + +# Bad results from QUOTE(). Bug #8248 +CREATE TABLE t1 SELECT 1 UNION SELECT 2 UNION SELECT 3; +SELECT QUOTE('A') FROM t1; +DROP TABLE t1; # Test collation and coercibility # |