1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

cleanup: select ... into tests

* automatically disable ps2 and cursor protocol when the
  select statement returns no result set
* remove manual {disable|enable}_{ps2|cursor}_protocol from around
  `select ... into` in tests
* other misc collateral test cleanups
This commit is contained in:
Sergei Golubchik
2024-12-13 11:56:31 +01:00
parent 9ee09a33bb
commit e7f7789482
82 changed files with 110 additions and 2338 deletions

View File

@@ -1,6 +1,11 @@
include/master-slave.inc
[connection master]
==== Create a big file ====
SET @@sql_log_bin= 0;
create table t1 (id int not null primary key auto_increment);
select * into outfile '$MYSQLTEST_VARDIR/tmp/bug30435_5k.txt' from t1;
DROP TABLE t1;
SET @@sql_log_bin= 1;
==== Load our big file into a table ====
create table t2 (id int not null primary key auto_increment);
select @@session.read_buffer_size - @@session.max_allowed_packet > 0 ;