mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +03:00
Bug#38311 - Fix of some cruft from remove_files in ndb_autodiscover.test, clean up of distinct.test,
and replacing error numbers with error names.
This commit is contained in:
@@ -31,13 +31,13 @@ select load_file(concat(@tmpdir,"/outfile-test.3"));
|
||||
# the following should give errors
|
||||
|
||||
disable_query_log;
|
||||
--error 1086
|
||||
--error ER_FILE_EXISTS_ERROR
|
||||
eval select * into outfile "../tmp/outfile-test.1" from t1;
|
||||
|
||||
--error 1086
|
||||
--error ER_FILE_EXISTS_ERROR
|
||||
eval select * into dumpfile "../tmp/outfile-test.2" from t1;
|
||||
|
||||
--error 1086
|
||||
--error ER_FILE_EXISTS_ERROR
|
||||
eval select * into dumpfile "../tmp/outfile-test.3" from t1;
|
||||
enable_query_log;
|
||||
select load_file(concat(@tmpdir,"/outfile-test.not-exist"));
|
||||
@@ -92,7 +92,7 @@ use test;
|
||||
# It should not be possible to write to a file outside of vardir
|
||||
create table t1(a int);
|
||||
--replace_result $MYSQL_TEST_DIR MYSQL_TEST_DIR
|
||||
--error 1290
|
||||
--error ER_OPTION_PREVENTS_STATEMENT
|
||||
eval select * into outfile "$MYSQL_TEST_DIR/outfile-test1" from t1;
|
||||
drop table t1;
|
||||
|
||||
@@ -105,7 +105,7 @@ create user user_1@localhost;
|
||||
grant all on mysqltest.* to user_1@localhost;
|
||||
connect (con28181_1,localhost,user_1,,mysqltest);
|
||||
|
||||
--error 1044
|
||||
--error ER_DBACCESS_DENIED_ERROR
|
||||
eval select schema_name
|
||||
into outfile "../tmp/outfile-test.4"
|
||||
fields terminated by ',' optionally enclosed by '"'
|
||||
|
||||
Reference in New Issue
Block a user