diff options
author | unknown <joerg@trift2.> | 2007-03-16 19:56:16 +0100 |
---|---|---|
committer | unknown <joerg@trift2.> | 2007-03-16 19:56:16 +0100 |
commit | 92384c67442d0e45065093ce2d48d4d5161c3e51 (patch) | |
tree | 2b705b21c7c1f0c3baa0af0e4d9125f41d58d8eb /mysql-test/t/loaddata.test | |
parent | 19ab799da5a7da5e599ec150843dda2cd3f81fe4 (diff) | |
download | mariadb-git-92384c67442d0e45065093ce2d48d4d5161c3e51.tar.gz |
Fix bug#27212, test case "loaddata": Take the file to read from the binary package.
mysql-test/r/loaddata.result:
Fix bug#27212: Do not try to read a file which is not contained in a binary distribution,
because it will be missing when the tests are run during release build or by a customer.
mysql-test/t/loaddata.test:
Fix bug#27212: Do not try to read a file which is not contained in a binary distribution,
because it will be missing when the tests are run during release build or by a customer.
Diffstat (limited to 'mysql-test/t/loaddata.test')
-rw-r--r-- | mysql-test/t/loaddata.test | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mysql-test/t/loaddata.test b/mysql-test/t/loaddata.test index 0dc91c36a09..125a65826ca 100644 --- a/mysql-test/t/loaddata.test +++ b/mysql-test/t/loaddata.test @@ -126,12 +126,12 @@ set @@secure_file_priv= 0; truncate table t1; --replace_result $MYSQL_TEST_DIR MYSQL_TEST_DIR --error 1290 -eval load data infile '$MYSQL_TEST_DIR/Makefile' into table t1; +eval load data infile '$MYSQL_TEST_DIR/t/loaddata.test' into table t1; select * from t1; # Test "load_file" returns NULL --replace_result $MYSQL_TEST_DIR MYSQL_TEST_DIR -eval select load_file("$MYSQL_TEST_DIR/Makefile"); +eval select load_file("$MYSQL_TEST_DIR/t/loaddata.test"); # cleanup drop table t1, t2; |