~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/symlink.test

  • Committer: Brian Aker
  • Date: 2009-08-17 00:51:17 UTC
  • mfrom: (1115.3.4 captain)
  • Revision ID: brian@gaz-20090817005117-j9der2dkee8pwbw5
Merge Jay

Show diffs side-by-side

added added

removed removed

Lines of Context:
136
136
 
137
137
--echo End of 5.0 tests
138
138
 
139
 
--replace_result $MYSQLTEST_VARDIR TEST_DIR
140
 
# Bug 311013 - specifying not existent directory does not give an error
141
 
#--error 1
142
 
#eval CREATE TABLE t1(a INT)
143
 
#INDEX DIRECTORY='$MYSQLTEST_VARDIR/master-data_var';
 
139
#
 
140
# Bug 311013 - specifying non existent directory does not give an error
 
141
# We use the ARCHIVE engine instead of MyISAM here for testing the data
 
142
# directory option since the file names output by MyISAM are always 
 
143
# different so the output would be non-deterministic
 
144
#
 
145
--error 1005
 
146
eval CREATE TABLE t1(a INT) engine=archive
 
147
DATA DIRECTORY='/foo/bar/far';
144
148
 
145
149
# BUG#25677 - With --skip-symbolic-links option on, DATA DIRECTORY clause is
146
150
#             silently ignored
147
 
#
148
 
# sql_mode not supported in Drizzle
149
 
#SET @OLD_SQL_MODE=@@SQL_MODE, @@SQL_MODE='NO_DIR_IN_CREATE';
150
151
--replace_result $MYSQLTEST_VARDIR MYSQLTEST_VARDIR
 
152
--error 1478
151
153
eval CREATE TABLE t1(a INT) DATA DIRECTORY='$MYSQLTEST_VARDIR/tmp' INDEX DIRECTORY='$MYSQLTEST_VARDIR/tmp';
152
 
DROP TABLE t1;
153
 
#SET @@SQL_MODE=@OLD_SQL_MODE;
154
154
 
155
155
--echo End of 5.1 tests
156
156
SET GLOBAL myisam_sort_buffer_size=DEFAULT;