Skip to content

Commit 77f43e4

Browse files
committed
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.
1 parent ecd9c42 commit 77f43e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/mysqli/tests/mysqli_real_connect_compression_error.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ $data_size = 16777174;
2626
$mysqli = mysqli_init();
2727
$result = my_mysqli_real_connect($mysqli, $host, $user, $passwd, $db, $port, $socket);
2828
$mysqli->query("DROP TABLE IF EXISTS test");
29-
$mysqli->query("CREATE TABLE test (`blob` LONGBLOB NOT NULL)");
29+
$mysqli->query("CREATE TABLE test (`blob` LONGBLOB NOT NULL) ENGINE=MyISAM");
3030

3131
$data = str_repeat("x", $data_size);
3232
$mysqli->query("INSERT INTO $db.test(`blob`) VALUE ('$data')");

0 commit comments

Comments
 (0)