From 77f43e48ffa9b4083a26870ca2fce8757c273bd3 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Fri, 18 Sep 2020 14:26:34 +0200 Subject: [PATCH] Use MyISAM engine for new test Travis on 7.3 is showing this error: > The size of BLOB/TEXT data inserted in one transaction is greater > than 10% of redo log size. Increase the redo log size using > innodb_log_file_size. Force MyISAM engine to avoid this. --- ext/mysqli/tests/mysqli_real_connect_compression_error.phpt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/mysqli/tests/mysqli_real_connect_compression_error.phpt b/ext/mysqli/tests/mysqli_real_connect_compression_error.phpt index df0e4dc73bd..5a5c2658038 100644 --- a/ext/mysqli/tests/mysqli_real_connect_compression_error.phpt +++ b/ext/mysqli/tests/mysqli_real_connect_compression_error.phpt @@ -26,7 +26,7 @@ $data_size = 16777174; $mysqli = mysqli_init(); $result = my_mysqli_real_connect($mysqli, $host, $user, $passwd, $db, $port, $socket); $mysqli->query("DROP TABLE IF EXISTS test"); -$mysqli->query("CREATE TABLE test (`blob` LONGBLOB NOT NULL)"); +$mysqli->query("CREATE TABLE test (`blob` LONGBLOB NOT NULL) ENGINE=MyISAM"); $data = str_repeat("x", $data_size); $mysqli->query("INSERT INTO $db.test(`blob`) VALUE ('$data')");