mirror of
https://github.com/MariaDB/server.git
synced 2025-02-22 21:33:08 +01:00

* 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
80 lines
2.9 KiB
Text
80 lines
2.9 KiB
Text
create table t1 (`a` blob);
|
||
insert into t1 values("hello world"),("Hello mars"),(NULL);
|
||
select * into outfile "../../tmp/outfile-test.1" from t1;
|
||
select load_file('../../tmp/outfile-test.1');
|
||
load_file('../../tmp/outfile-test.1')
|
||
hello world
|
||
Hello mars
|
||
\N
|
||
|
||
select * into dumpfile "../../tmp/outfile-test.2" from t1 limit 1;
|
||
select load_file('../../tmp/outfile-test.2');
|
||
load_file('../../tmp/outfile-test.2')
|
||
hello world
|
||
select * into dumpfile "../../tmp/outfile-test.3" from t1 where a is null;
|
||
select load_file('../../tmp/outfile-test.3');
|
||
load_file('../../tmp/outfile-test.3')
|
||
|