Debian Codegraph @

mysql-test/suite/sys_vars/t/secure_file_priv2.test

raw
1 #
2 # Bug58747 breaks secure_file_priv+not secure yet+still accesses other folders
3 #
4 CREATE TABLE t1 (c1 INT);
5 #
6 # Before the patch this statement failed with
7 # Linux:
8 # -> errno 13: 'Can't get stat of '
9 # Windows:
10 # -> Warning 1366 Incorrect integer value: '■■☺' for
11 # -> column 'c1' at row 1
12 # Now it should consistently fail with ER_OPTION_PREVENTS_STATEMENT
13 # on all platforms.
14 --error ER_OPTION_PREVENTS_STATEMENT
15 LOAD DATA INFILE "t1.MYI" into table t1;
16
17 #
18 # The following test makes the assuption that /test isn't a valid path in any
19 # operating system running the test suite.
20 --error ER_OPTION_PREVENTS_STATEMENT
21 LOAD DATA INFILE "/test" into table t1;
22
23 DROP TABLE t1;