mirror of
https://github.com/MariaDB/server.git
synced 2026-05-15 19:37:16 +02:00
MDEV-27691: make working view-protocol
Tests with checking metadata or that cannot be run with the view-protocol are excluded from --view-protocol. For tests that do not allow the use of an additional connection, the util connection is disabled with "--disable_service_connection". Also cases with bugs for --view-protocol are disabled.
This commit is contained in:
parent
1dd6255ffe
commit
72ba96a48e
273 changed files with 1867 additions and 158 deletions
|
|
@ -278,6 +278,7 @@ drop table t1;
|
|||
#
|
||||
# UTF8
|
||||
#
|
||||
--disable_service_connection
|
||||
SET NAMES latin1;
|
||||
CREATE TABLE t1 (t text character set utf8 not null, fulltext(t));
|
||||
INSERT t1 VALUES ('Mit freundlichem Grüß'), ('aus Osnabrück');
|
||||
|
|
@ -298,7 +299,7 @@ alter table t1 modify t varchar(200) collate latin1_german2_ci not null;
|
|||
SELECT t, collation(t) FROM t1 WHERE MATCH t AGAINST ('Osnabrück');
|
||||
SELECT t, collation(t) FROM t1 WHERE MATCH t AGAINST ('Osnabrueck');
|
||||
DROP TABLE t1;
|
||||
|
||||
--enable_service_connection
|
||||
#
|
||||
# bug#3964
|
||||
#
|
||||
|
|
@ -655,6 +656,7 @@ DROP TABLE t1;
|
|||
--echo #
|
||||
--echo # MDEV-6146 Can't mix (latin1_swedish_ci,NUMERIC) and (utf8_unicode_ci,IMPLICIT) for MATCH
|
||||
--echo #
|
||||
--disable_service_connection
|
||||
SET NAMES utf8;
|
||||
CREATE TABLE t1
|
||||
(
|
||||
|
|
@ -682,7 +684,7 @@ INSERT INTO t1 VALUES ('nnn5 x5 y5 ööö5','mmm5 ');
|
|||
SELECT * FROM t1 WHERE MATCH (txt1,txt2) AGAINST ('ööö1' IN BOOLEAN MODE);
|
||||
SELECT * FROM t1 WHERE MATCH (txt1,txt2) AGAINST ('ùùù2' IN BOOLEAN MODE);
|
||||
DROP TABLE t1;
|
||||
|
||||
--enable_service_connection
|
||||
|
||||
--echo #
|
||||
--echo # MDEV-14743: Server crashes in Item_func_match::init_search
|
||||
|
|
@ -691,7 +693,10 @@ DROP TABLE t1;
|
|||
CREATE TABLE t1 (f VARCHAR(8));
|
||||
INSERT INTO t1 VALUES ('foo'),('bar');
|
||||
|
||||
#enable after fix MDEV-27871
|
||||
--disable_view_protocol
|
||||
SELECT 'foo' IN ( SELECT f FROM t1 GROUP BY MATCH(f) AGAINST ( 'qux' IN BOOLEAN MODE ) );
|
||||
--enable_view_protocol
|
||||
SELECT 'foo' IN ( SELECT f FROM t1 GROUP BY MATCH(f) AGAINST ( 'qux' IN BOOLEAN MODE )) as f1, MATCH(f) AGAINST ( 'qux' IN BOOLEAN MODE ) as f2 from t1 ;
|
||||
explain extended
|
||||
SELECT 'foo' IN ( SELECT f FROM t1 GROUP BY MATCH(f) AGAINST ( 'qux' IN BOOLEAN MODE )) as f1, MATCH(f) AGAINST ( 'qux' IN BOOLEAN MODE ) as f2 from t1 ;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue