Skip to content

Commit 9b646f4

Browse files
committed
feat: fix for 5.6
1 parent 07aae0b commit 9b646f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mysql.bench.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
return;
3232
}
3333

34-
$dbName = $args['mysql_database'] ?? 'bench_test';
34+
$dbName = isset($args['mysql_database']) ? $args['mysql_database'] : 'bench_test';
3535

3636
// check if database exists
3737
$result = $mysqli->query("SELECT schema_name FROM information_schema.schemata WHERE schema_name = '$dbName'");

0 commit comments

Comments
 (0)