~linuxjedi/drizzle/drizzle-bug-634374-embedded-innodb

« back to all changes in this revision

Viewing changes to tests/t/outfile.test

  • Committer: lbieber
  • Date: 2010-08-27 21:33:08 UTC
  • mfrom: (1733.2.1 staging)
  • Revision ID: lbieber@orisndriz03-20100827213308-amx6ld6by21sba7s
Merge Shrews - bug 599582
Merge Lee - use enum values instead of error numbers in tests

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
# the following should give errors
32
32
 
33
33
disable_query_log;
34
 
--error 1086
 
34
--error ER_FILE_EXISTS_ERROR
35
35
eval select * into outfile "../tmp/outfile-test.1" from t1;
36
36
 
37
 
--error 1086
 
37
--error ER_FILE_EXISTS_ERROR
38
38
eval select * into dumpfile "../tmp/outfile-test.2" from t1;
39
39
 
40
 
--error 1086
 
40
--error ER_FILE_EXISTS_ERROR
41
41
eval select * into dumpfile "../tmp/outfile-test.3" from t1;
42
42
enable_query_log;
43
43
select load_file(concat(@tmpdir,"/outfile-test.not-exist"));
92
92
# It should not be possible to write to a file outside of vardir
93
93
create table t1(a int);
94
94
--replace_result $DRIZZLE_TEST_DIR DRIZZLE_TEST_DIR
95
 
--error 1290
 
95
--error ER_OPTION_PREVENTS_STATEMENT
96
96
eval select * into outfile "$DRIZZLE_TEST_DIR/outfile-test1" from t1;
97
97
drop table t1;