mirror of
https://github.com/MariaDB/server.git
synced 2025-01-31 19:11:46 +01:00
c92b9b7315
for general use. mysql-test/Makefile.am: Adding directories of additional test suites mysql-test/mysql-stress-test.pl: Adding check for additional errors checking during test run
256 lines
9.3 KiB
Text
256 lines
9.3 KiB
Text
--disable_warnings
|
|
DROP TABLE IF EXISTS t1;
|
|
--enable_warnings
|
|
CREATE TABLE t1(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL);
|
|
--source suite/engines/funcs/t/data1.inc
|
|
SELECT COUNT(*) FROM t1;
|
|
SELECT COUNT(*) FROM t1 WHERE c2='a';
|
|
SELECT COUNT(*) FROM t1 WHERE c1='a';
|
|
DROP TABLE t1;
|
|
CREATE TABLE t1(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL);
|
|
--source suite/engines/funcs/t/data1.inc
|
|
SELECT COUNT(*) FROM t1;
|
|
SELECT COUNT(*) FROM t1 WHERE c2='b';
|
|
SELECT COUNT(*) FROM t1 WHERE c1='b';
|
|
DROP TABLE t1;
|
|
CREATE TABLE t1(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL);
|
|
--source suite/engines/funcs/t/data1.inc
|
|
SELECT COUNT(*) FROM t1;
|
|
SELECT COUNT(*) FROM t1 WHERE c2='c';
|
|
SELECT COUNT(*) FROM t1 WHERE c1='c';
|
|
DROP TABLE t1;
|
|
CREATE TABLE t1(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL);
|
|
--source suite/engines/funcs/t/data1.inc
|
|
SELECT COUNT(*) FROM t1;
|
|
SELECT COUNT(*) FROM t1 WHERE c2='d';
|
|
SELECT COUNT(*) FROM t1 WHERE c1='d';
|
|
DROP TABLE t1;
|
|
CREATE TABLE t1(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL);
|
|
--source suite/engines/funcs/t/data1.inc
|
|
SELECT COUNT(*) FROM t1;
|
|
SELECT COUNT(*) FROM t1 WHERE c2='e';
|
|
SELECT COUNT(*) FROM t1 WHERE c1='e';
|
|
DROP TABLE t1;
|
|
CREATE TABLE t1(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL);
|
|
--source suite/engines/funcs/t/data1.inc
|
|
SELECT COUNT(*) FROM t1;
|
|
SELECT COUNT(*) FROM t1 WHERE c2='f';
|
|
SELECT COUNT(*) FROM t1 WHERE c1='f';
|
|
DROP TABLE t1;
|
|
CREATE TABLE t1(c1 CHAR(1) NULL, c2 CHAR(1) NULL, c3 INT NULL);
|
|
--source suite/engines/funcs/t/data1.inc
|
|
SELECT COUNT(*) FROM t1;
|
|
SELECT COUNT(*) FROM t1 WHERE c2='y';
|
|
SELECT COUNT(*) FROM t1 WHERE c1='y';
|
|
DROP TABLE t1;
|
|
CREATE TABLE t1(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL);
|
|
--source suite/engines/funcs/t/data1.inc
|
|
SELECT COUNT(*) FROM t1;
|
|
SELECT COUNT(*) FROM t1 WHERE c2='a';
|
|
SELECT COUNT(*) FROM t1 WHERE c1='a';
|
|
DROP TABLE t1;
|
|
CREATE TABLE t1(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL);
|
|
--source suite/engines/funcs/t/data1.inc
|
|
SELECT COUNT(*) FROM t1;
|
|
SELECT COUNT(*) FROM t1 WHERE c2='b';
|
|
SELECT COUNT(*) FROM t1 WHERE c1='b';
|
|
DROP TABLE t1;
|
|
CREATE TABLE t1(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL);
|
|
--source suite/engines/funcs/t/data1.inc
|
|
SELECT COUNT(*) FROM t1;
|
|
SELECT COUNT(*) FROM t1 WHERE c2='c';
|
|
SELECT COUNT(*) FROM t1 WHERE c1='c';
|
|
DROP TABLE t1;
|
|
CREATE TABLE t1(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL);
|
|
--source suite/engines/funcs/t/data1.inc
|
|
SELECT COUNT(*) FROM t1;
|
|
SELECT COUNT(*) FROM t1 WHERE c2='d';
|
|
SELECT COUNT(*) FROM t1 WHERE c1='d';
|
|
DROP TABLE t1;
|
|
CREATE TABLE t1(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL);
|
|
--source suite/engines/funcs/t/data1.inc
|
|
SELECT COUNT(*) FROM t1;
|
|
SELECT COUNT(*) FROM t1 WHERE c2='e';
|
|
SELECT COUNT(*) FROM t1 WHERE c1='e';
|
|
DROP TABLE t1;
|
|
CREATE TABLE t1(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL);
|
|
--source suite/engines/funcs/t/data1.inc
|
|
SELECT COUNT(*) FROM t1;
|
|
SELECT COUNT(*) FROM t1 WHERE c2='f';
|
|
SELECT COUNT(*) FROM t1 WHERE c1='f';
|
|
DROP TABLE t1;
|
|
CREATE TABLE t1(c1 VARCHAR(1) NULL, c2 VARCHAR(1) NULL, c3 INT NULL);
|
|
--source suite/engines/funcs/t/data1.inc
|
|
SELECT COUNT(*) FROM t1;
|
|
SELECT COUNT(*) FROM t1 WHERE c2='y';
|
|
SELECT COUNT(*) FROM t1 WHERE c1='y';
|
|
DROP TABLE t1;
|
|
CREATE TABLE t1(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL);
|
|
--source suite/engines/funcs/t/data1.inc
|
|
SELECT COUNT(*) FROM t1;
|
|
SELECT COUNT(*) FROM t1 WHERE c2='a';
|
|
SELECT COUNT(*) FROM t1 WHERE c1='a';
|
|
DROP TABLE t1;
|
|
CREATE TABLE t1(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL);
|
|
--source suite/engines/funcs/t/data1.inc
|
|
SELECT COUNT(*) FROM t1;
|
|
SELECT COUNT(*) FROM t1 WHERE c2='b';
|
|
SELECT COUNT(*) FROM t1 WHERE c1='b';
|
|
DROP TABLE t1;
|
|
CREATE TABLE t1(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL);
|
|
--source suite/engines/funcs/t/data1.inc
|
|
SELECT COUNT(*) FROM t1;
|
|
SELECT COUNT(*) FROM t1 WHERE c2='c';
|
|
SELECT COUNT(*) FROM t1 WHERE c1='c';
|
|
DROP TABLE t1;
|
|
CREATE TABLE t1(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL);
|
|
--source suite/engines/funcs/t/data1.inc
|
|
SELECT COUNT(*) FROM t1;
|
|
SELECT COUNT(*) FROM t1 WHERE c2='d';
|
|
SELECT COUNT(*) FROM t1 WHERE c1='d';
|
|
DROP TABLE t1;
|
|
CREATE TABLE t1(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL);
|
|
--source suite/engines/funcs/t/data1.inc
|
|
SELECT COUNT(*) FROM t1;
|
|
SELECT COUNT(*) FROM t1 WHERE c2='e';
|
|
SELECT COUNT(*) FROM t1 WHERE c1='e';
|
|
DROP TABLE t1;
|
|
CREATE TABLE t1(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL);
|
|
--source suite/engines/funcs/t/data1.inc
|
|
SELECT COUNT(*) FROM t1;
|
|
SELECT COUNT(*) FROM t1 WHERE c2='f';
|
|
SELECT COUNT(*) FROM t1 WHERE c1='f';
|
|
DROP TABLE t1;
|
|
CREATE TABLE t1(c1 BINARY(1) NULL, c2 BINARY(1) NULL, c3 INT NULL);
|
|
--source suite/engines/funcs/t/data1.inc
|
|
SELECT COUNT(*) FROM t1;
|
|
SELECT COUNT(*) FROM t1 WHERE c2='y';
|
|
SELECT COUNT(*) FROM t1 WHERE c1='y';
|
|
DROP TABLE t1;
|
|
CREATE TABLE t1(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL);
|
|
--source suite/engines/funcs/t/data1.inc
|
|
SELECT COUNT(*) FROM t1;
|
|
SELECT COUNT(*) FROM t1 WHERE c2='a';
|
|
SELECT COUNT(*) FROM t1 WHERE c1='a';
|
|
DROP TABLE t1;
|
|
CREATE TABLE t1(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL);
|
|
--source suite/engines/funcs/t/data1.inc
|
|
SELECT COUNT(*) FROM t1;
|
|
SELECT COUNT(*) FROM t1 WHERE c2='b';
|
|
SELECT COUNT(*) FROM t1 WHERE c1='b';
|
|
DROP TABLE t1;
|
|
CREATE TABLE t1(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL);
|
|
--source suite/engines/funcs/t/data1.inc
|
|
SELECT COUNT(*) FROM t1;
|
|
SELECT COUNT(*) FROM t1 WHERE c2='c';
|
|
SELECT COUNT(*) FROM t1 WHERE c1='c';
|
|
DROP TABLE t1;
|
|
CREATE TABLE t1(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL);
|
|
--source suite/engines/funcs/t/data1.inc
|
|
SELECT COUNT(*) FROM t1;
|
|
SELECT COUNT(*) FROM t1 WHERE c2='d';
|
|
SELECT COUNT(*) FROM t1 WHERE c1='d';
|
|
DROP TABLE t1;
|
|
CREATE TABLE t1(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL);
|
|
--source suite/engines/funcs/t/data1.inc
|
|
SELECT COUNT(*) FROM t1;
|
|
SELECT COUNT(*) FROM t1 WHERE c2='e';
|
|
SELECT COUNT(*) FROM t1 WHERE c1='e';
|
|
DROP TABLE t1;
|
|
CREATE TABLE t1(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL);
|
|
--source suite/engines/funcs/t/data1.inc
|
|
SELECT COUNT(*) FROM t1;
|
|
SELECT COUNT(*) FROM t1 WHERE c2='f';
|
|
SELECT COUNT(*) FROM t1 WHERE c1='f';
|
|
DROP TABLE t1;
|
|
CREATE TABLE t1(c1 VARBINARY(1) NULL, c2 VARBINARY(1) NULL, c3 INT NULL);
|
|
--source suite/engines/funcs/t/data1.inc
|
|
SELECT COUNT(*) FROM t1;
|
|
SELECT COUNT(*) FROM t1 WHERE c2='y';
|
|
SELECT COUNT(*) FROM t1 WHERE c1='y';
|
|
DROP TABLE t1;
|
|
CREATE TABLE t1(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL);
|
|
--source suite/engines/funcs/t/data1.inc
|
|
SELECT COUNT(*) FROM t1;
|
|
SELECT COUNT(*) FROM t1 WHERE c2='a';
|
|
SELECT COUNT(*) FROM t1 WHERE c1='a';
|
|
DROP TABLE t1;
|
|
CREATE TABLE t1(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL);
|
|
--source suite/engines/funcs/t/data1.inc
|
|
SELECT COUNT(*) FROM t1;
|
|
SELECT COUNT(*) FROM t1 WHERE c2='b';
|
|
SELECT COUNT(*) FROM t1 WHERE c1='b';
|
|
DROP TABLE t1;
|
|
CREATE TABLE t1(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL);
|
|
--source suite/engines/funcs/t/data1.inc
|
|
SELECT COUNT(*) FROM t1;
|
|
SELECT COUNT(*) FROM t1 WHERE c2='c';
|
|
SELECT COUNT(*) FROM t1 WHERE c1='c';
|
|
DROP TABLE t1;
|
|
CREATE TABLE t1(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL);
|
|
--source suite/engines/funcs/t/data1.inc
|
|
SELECT COUNT(*) FROM t1;
|
|
SELECT COUNT(*) FROM t1 WHERE c2='d';
|
|
SELECT COUNT(*) FROM t1 WHERE c1='d';
|
|
DROP TABLE t1;
|
|
CREATE TABLE t1(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL);
|
|
--source suite/engines/funcs/t/data1.inc
|
|
SELECT COUNT(*) FROM t1;
|
|
SELECT COUNT(*) FROM t1 WHERE c2='e';
|
|
SELECT COUNT(*) FROM t1 WHERE c1='e';
|
|
DROP TABLE t1;
|
|
CREATE TABLE t1(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL);
|
|
--source suite/engines/funcs/t/data1.inc
|
|
SELECT COUNT(*) FROM t1;
|
|
SELECT COUNT(*) FROM t1 WHERE c2='f';
|
|
SELECT COUNT(*) FROM t1 WHERE c1='f';
|
|
DROP TABLE t1;
|
|
CREATE TABLE t1(c1 BLOB(1) NULL, c2 BLOB(1) NULL, c3 INT NULL);
|
|
--source suite/engines/funcs/t/data1.inc
|
|
SELECT COUNT(*) FROM t1;
|
|
SELECT COUNT(*) FROM t1 WHERE c2='y';
|
|
SELECT COUNT(*) FROM t1 WHERE c1='y';
|
|
DROP TABLE t1;
|
|
CREATE TABLE t1(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL);
|
|
--source suite/engines/funcs/t/data1.inc
|
|
SELECT COUNT(*) FROM t1;
|
|
SELECT COUNT(*) FROM t1 WHERE c2='a';
|
|
SELECT COUNT(*) FROM t1 WHERE c1='a';
|
|
DROP TABLE t1;
|
|
CREATE TABLE t1(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL);
|
|
--source suite/engines/funcs/t/data1.inc
|
|
SELECT COUNT(*) FROM t1;
|
|
SELECT COUNT(*) FROM t1 WHERE c2='b';
|
|
SELECT COUNT(*) FROM t1 WHERE c1='b';
|
|
DROP TABLE t1;
|
|
CREATE TABLE t1(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL);
|
|
--source suite/engines/funcs/t/data1.inc
|
|
SELECT COUNT(*) FROM t1;
|
|
SELECT COUNT(*) FROM t1 WHERE c2='c';
|
|
SELECT COUNT(*) FROM t1 WHERE c1='c';
|
|
DROP TABLE t1;
|
|
CREATE TABLE t1(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL);
|
|
--source suite/engines/funcs/t/data1.inc
|
|
SELECT COUNT(*) FROM t1;
|
|
SELECT COUNT(*) FROM t1 WHERE c2='d';
|
|
SELECT COUNT(*) FROM t1 WHERE c1='d';
|
|
DROP TABLE t1;
|
|
CREATE TABLE t1(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL);
|
|
--source suite/engines/funcs/t/data1.inc
|
|
SELECT COUNT(*) FROM t1;
|
|
SELECT COUNT(*) FROM t1 WHERE c2='e';
|
|
SELECT COUNT(*) FROM t1 WHERE c1='e';
|
|
DROP TABLE t1;
|
|
CREATE TABLE t1(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL);
|
|
--source suite/engines/funcs/t/data1.inc
|
|
SELECT COUNT(*) FROM t1;
|
|
SELECT COUNT(*) FROM t1 WHERE c2='f';
|
|
SELECT COUNT(*) FROM t1 WHERE c1='f';
|
|
DROP TABLE t1;
|
|
CREATE TABLE t1(c1 TEXT(1) NULL, c2 TEXT(1) NULL, c3 INT NULL);
|
|
--source suite/engines/funcs/t/data1.inc
|
|
SELECT COUNT(*) FROM t1;
|
|
SELECT COUNT(*) FROM t1 WHERE c2='y';
|
|
SELECT COUNT(*) FROM t1 WHERE c1='y';
|
|
DROP TABLE t1;
|
|
|