mirror of
https://github.com/MariaDB/server.git
synced 2025-08-09 22:24:09 +03:00
24 lines
1.2 KiB
Plaintext
24 lines
1.2 KiB
Plaintext
--- r/func_regexp.result 2011-10-21 23:09:08.000000000 +0200
|
|
+++ r/func_regexp.reject 2012-02-10 15:31:44.000000000 +0100
|
|
@@ -10,7 +10,7 @@
|
|
t1 CREATE TABLE `t1` (
|
|
`s1` varchar(64) DEFAULT NULL,
|
|
`s2` varchar(64) DEFAULT NULL
|
|
-) ENGINE=MyISAM DEFAULT CHARSET=latin1
|
|
+) ENGINE=PBXT DEFAULT CHARSET=latin1
|
|
delete from t1;
|
|
insert into t1 values('aaa','aaa');
|
|
insert into t1 values('aaa|qqq','qqq');
|
|
@@ -50,9 +50,9 @@
|
|
this is a test of some long text to see what happens
|
|
explain extended select * from t1 where xxx regexp('is a test of some long text to');
|
|
id select_type table type possible_keys key key_len ref rows filtered Extra
|
|
-1 SIMPLE t1 system NULL NULL NULL NULL 1 100.00
|
|
+1 SIMPLE t1 ALL NULL NULL NULL NULL 1 100.00 Using where
|
|
Warnings:
|
|
-Note 1003 select 'this is a test of some long text to see what happens' AS `xxx` from dual where ('this is a test of some long text to see what happens' regexp 'is a test of some long text to')
|
|
+Note 1003 select `test`.`t1`.`xxx` AS `xxx` from `test`.`t1` where (`test`.`t1`.`xxx` regexp 'is a test of some long text to')
|
|
select * from t1 where xxx regexp('is a test of some long text to ');
|
|
xxx
|
|
this is a test of some long text to see what happens
|