diff options
author | Alexey Kopytov <Alexey.Kopytov@sun.com> | 2009-03-25 10:32:01 +0300 |
---|---|---|
committer | Alexey Kopytov <Alexey.Kopytov@sun.com> | 2009-03-25 10:32:01 +0300 |
commit | b4c794d35a704aa6e2efa0ee4b8e3d0f80efefc6 (patch) | |
tree | 4bf1441434aa3b6431b97774100f151c116b8d65 /mysql-test/t/mysql-bug41486.test | |
parent | 9095a69edabd655618f70bda73ffbde2bb131c70 (diff) | |
download | mariadb-git-b4c794d35a704aa6e2efa0ee4b8e3d0f80efefc6.tar.gz |
Fix for bug #43801: mysql.test takes too long, fails due to
expired timeout on debx86-b in PB
Turned off general log when importing DB dump in the test
case for bug #41486 due to the bug in CSV engine code that
makes logging long SQL query too slow.
Diffstat (limited to 'mysql-test/t/mysql-bug41486.test')
-rw-r--r-- | mysql-test/t/mysql-bug41486.test | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mysql-test/t/mysql-bug41486.test b/mysql-test/t/mysql-bug41486.test index 805c0f99480..7ea9f6d81c7 100644 --- a/mysql-test/t/mysql-bug41486.test +++ b/mysql-test/t/mysql-bug41486.test @@ -30,9 +30,12 @@ let $outfile= $MYSQLTEST_VARDIR/tmp/bug41486.sql; --error 0,1 remove_file $outfile; --exec $MYSQL_DUMP test t1 > $outfile +SET @old_general_log = @@global.general_log; +SET @@global.general_log = 0; # Check that the mysql client does not insert extra newlines when loading # strings longer than client's max_allowed_packet --exec $MYSQL --max_allowed_packet=1M test < $outfile 2>&1 +SET @@global.general_log = @old_general_log; SELECT LENGTH(data) FROM t1; DROP TABLE t1; |