We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce4aa76 commit c8c8a64Copy full SHA for c8c8a64
tests/MysqlTest.php
@@ -47,7 +47,7 @@ public function checkVersion($db)
47
$major = 5;
48
$minor = 5;
49
$version = mysqli_get_server_version($db);
50
- $v = array(floor($version/10000),floor($version/100));
+ $v = array(floor($version/10000),floor(($version%10000)/100));
51
if ($v[0]<$major || ($v[0]==$major && $v[1]<$minor)) {
52
die("Detected MySQL $v[0].$v[1], but only $major.$minor and up are supported\n");
53
}
0 commit comments