Skip to content

Commit

Permalink
feat: fix for 5.6
Browse files Browse the repository at this point in the history
  • Loading branch information
sergix44 committed Nov 5, 2024
1 parent 07aae0b commit 9b646f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mysql.bench.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
return;
}

$dbName = $args['mysql_database'] ?? 'bench_test';
$dbName = isset($args['mysql_database']) ? $args['mysql_database'] : 'bench_test';

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

0 comments on commit 9b646f4

Please sign in to comment.