diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2020-09-18 14:26:34 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2020-09-18 14:49:43 +0200 |
commit | 77f43e48ffa9b4083a26870ca2fce8757c273bd3 (patch) | |
tree | 9e22c3601eff3b876d342fe62c2d21d9d321c8f5 | |
parent | ecd9c42f9e54b53ea6917b2a28ae9e5a2c89c2fe (diff) | |
download | php-git-77f43e48ffa9b4083a26870ca2fce8757c273bd3.tar.gz |
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.
-rw-r--r-- | ext/mysqli/tests/mysqli_real_connect_compression_error.phpt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mysqli/tests/mysqli_real_connect_compression_error.phpt b/ext/mysqli/tests/mysqli_real_connect_compression_error.phpt index df0e4dc73b..5a5c265803 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')"); |