diff options
author | bell@sanja.is.com.ua <> | 2004-06-22 15:17:40 +0300 |
---|---|---|
committer | bell@sanja.is.com.ua <> | 2004-06-22 15:17:40 +0300 |
commit | e71b693115e612df7f9e62b93618be0ef0279eab (patch) | |
tree | 69ab971bd511d6733b9c9d19db5875763a3472fd /mysql-test/t | |
parent | ec09e5f61b42ff76923e2eb68157e45f42785407 (diff) | |
parent | a19b0f0a8edd650c920a26f51869dfb0af10a382 (diff) | |
download | mariadb-git-e71b693115e612df7f9e62b93618be0ef0279eab.tar.gz |
Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1
into sanja.is.com.ua:/home/bell/mysql/bk/work-regexp-4.1
Diffstat (limited to 'mysql-test/t')
-rw-r--r-- | mysql-test/t/func_regexp.test | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/mysql-test/t/func_regexp.test b/mysql-test/t/func_regexp.test index edfa9afcfa6..1a771d466fa 100644 --- a/mysql-test/t/func_regexp.test +++ b/mysql-test/t/func_regexp.test @@ -60,3 +60,16 @@ select _koi8r 0xF7 regexp _koi8r '[[:alpha:]]'; select _latin1'a' regexp _latin1'A' collate latin1_general_ci; select _latin1'a' regexp _latin1'A' collate latin1_bin; + +# +# regexp cleanup() +# +create table t1 (a varchar(40)); +insert into t1 values ('C1'),('C2'),('R1'),('C3'),('R2'),('R3'); +prepare stmt1 from 'select a from t1 where a rlike ? order by a'; +set @a="^C.*"; +execute stmt1 using @a; +set @a="^R.*"; +execute stmt1 using @a; +deallocate prepare stmt1; +drop table t1; |