mirror of
https://github.com/MariaDB/server.git
synced 2025-05-13 01:01:44 +03:00
Removed random failures from test suite mysql-test/extra/rpl_tests/rpl_insert_id_pk.test: Make test predicatable. mysql-test/include/maria_empty_logs.inc: We can't use 'Threads_connected' for syncronization, as the 'check_warnings' thread that just quit may still be counted in 'Threads_connected' Now we just wait until MySQLD answers again, which should be good enough for our purposes mysql-test/suite/binlog/r/binlog_index.result: Updated results file mysql-test/suite/binlog/t/binlog_index-master.opt: Added option file to not get stack traces in .err file. mysql-test/suite/binlog/t/binlog_index.test: Added 'flush tables' to remove warning about crashed suppression file from logs mysql-test/suite/pbxt/r/multi_statement.result: Updated results mysql-test/suite/pbxt/t/multi_statement-master.opt: Added options so that slow query testing makes sense sql/events.cc: Don't write Event Scheduler startup message if warnings are turned off. sql/handler.cc: Removed compiler warning sql/log.cc: Removed compiler warning sql/mysqld.cc: Added option 'test-expect-abort'; If this is set, we don't write message to log in case of 'DBUG_ABORT'. (Gives us smaller, easier to read log files) sql/set_var.cc: Removed compiler warning sql/slave.cc: Removed compiler warning sql/sql_plugin.cc: Don't write warnings about disabled plugin if using --log_warnings=0 storage/xtradb/include/ut0lst.h: Removed compiler warning support-files/compiler_warnings.supp: Supress warning from xtradb
52 lines
563 B
Plaintext
52 lines
563 B
Plaintext
DROP TABLE IF EXISTS t1;
|
|
select 1;
|
|
1
|
|
1
|
|
select 2;
|
|
select 3;
|
|
select 4||||
|
|
2
|
|
2
|
|
3
|
|
3
|
|
4
|
|
4
|
|
select 5;
|
|
select 6;
|
|
select 50, 'abc';'abcd'
|
|
5
|
|
5
|
|
6
|
|
6
|
|
50 abc
|
|
50 abc
|
|
select "abcd'";'abcd'
|
|
abcd'
|
|
abcd'
|
|
select "'abcd";'abcd'
|
|
'abcd
|
|
'abcd
|
|
select 5'abcd'
|
|
5
|
|
5
|
|
select 'finish';
|
|
finish
|
|
finish
|
|
flush status;
|
|
create table t1 (i int);
|
|
insert into t1 values (1);
|
|
select * from t1 where i = 1;
|
|
insert into t1 values (2),(3),(4);
|
|
select * from t1 where i = 2;
|
|
select * from t1 where i = 3||||
|
|
i
|
|
1
|
|
i
|
|
2
|
|
i
|
|
3
|
|
show status like 'Slow_queries'||||
|
|
Variable_name Value
|
|
Slow_queries 3
|
|
drop table t1||||
|