@@ -425,7 +425,7 @@ public function test_mysqli_config() {
425425
426426 $ this ->html_table_open ( 'MySQL Configuration ' , '' , 'Required ' , 'Recommended ' , 'Current ' );
427427
428- $ result = mysqli_query ( "SHOW VARIABLES LIKE 'have_query_cache' " , $ this -> db_link );
428+ $ result = mysqli_query ( $ this -> db_link , "SHOW VARIABLES LIKE 'have_query_cache' " );
429429 if ( $ result != false ) {
430430 while ( $ row = mysqli_fetch_assoc ( $ result ) ) {
431431 if ( strtolower ( $ row ['Value ' ] ) == 'yes ' ) {
@@ -436,7 +436,7 @@ public function test_mysqli_config() {
436436 }
437437 }
438438
439- $ result = mysqli_query ( "SHOW VARIABLES LIKE 'query_cache_size' " , $ this -> db_link );
439+ $ result = mysqli_query ( $ this -> db_link , "SHOW VARIABLES LIKE 'query_cache_size' " );
440440 if ( $ result != false ) {
441441 while ( $ row = mysqli_fetch_assoc ( $ result ) ) {
442442 if ( intval ( $ row ['Value ' ] ) >= 8388608 ) { // 8mb
@@ -448,7 +448,7 @@ public function test_mysqli_config() {
448448 }
449449 }
450450
451- $ result = mysqli_query ( "SHOW VARIABLES LIKE 'query_cache_type' " , $ this -> db_link );
451+ $ result = mysqli_query ( $ this -> db_link , "SHOW VARIABLES LIKE 'query_cache_type' " );
452452 if ( $ result != false ) {
453453 while ( $ row = mysqli_fetch_assoc ( $ result ) ) {
454454 if ( strtolower ( $ row ['Value ' ] ) == 'on ' || strtolower ( $ row ['Value ' ] ) == '1 ' ) {
@@ -459,7 +459,7 @@ public function test_mysqli_config() {
459459 }
460460 }
461461
462- $ result = mysqli_query ( "SHOW VARIABLES LIKE 'log_slow_queries' " , $ this -> db_link );
462+ $ result = mysqli_query ( $ this -> db_link , "SHOW VARIABLES LIKE 'log_slow_queries' " );
463463 if ( $ result != false ) {
464464 while ( $ row = mysqli_fetch_assoc ( $ result ) ) {
465465 if ( strtolower ( $ row ['Value ' ] ) == 'yes ' || strtolower ( $ row ['Value ' ] ) == 'on ' ) {
@@ -472,7 +472,7 @@ public function test_mysqli_config() {
472472 }
473473 }
474474
475- $ result = mysqli_query ( "SHOW VARIABLES LIKE 'long_query_time' " , $ this -> db_link );
475+ $ result = mysqli_query ( $ this -> db_link , "SHOW VARIABLES LIKE 'long_query_time' " );
476476 if ( $ is_log_slow_queries == true && $ result != false ) {
477477 while ( $ row = mysqli_fetch_assoc ( $ result ) ) {
478478 if ( intval ( $ row ['Value ' ] ) <= 2 ) {
0 commit comments