@@ -324,7 +324,7 @@ PHP_FUNCTION(mysqli_data_seek)
324324 RETURN_THROWS ();
325325 }
326326
327- MYSQLI_FETCH_RESOURCE (result , MYSQL_RES * , mysql_result , "mysqli_result" , MYSQLI_STATUS_VALID );
327+ MYSQLI_FETCH_RESOURCE (result , MYSQL_RES * , mysql_result , MYSQLI_STATUS_VALID );
328328
329329 if (mysqli_result_is_unbuffered (result )) {
330330 if (hasThis ()) {
@@ -670,7 +670,7 @@ PHP_FUNCTION(mysqli_fetch_field)
670670 RETURN_THROWS ();
671671 }
672672
673- MYSQLI_FETCH_RESOURCE (result , MYSQL_RES * , mysql_result , "mysqli_result" , MYSQLI_STATUS_VALID );
673+ MYSQLI_FETCH_RESOURCE (result , MYSQL_RES * , mysql_result , MYSQLI_STATUS_VALID );
674674
675675 if (!(field = mysql_fetch_field (result ))) {
676676 RETURN_FALSE ;
@@ -694,7 +694,7 @@ PHP_FUNCTION(mysqli_fetch_fields)
694694 RETURN_THROWS ();
695695 }
696696
697- MYSQLI_FETCH_RESOURCE (result , MYSQL_RES * , mysql_result , "mysqli_result" , MYSQLI_STATUS_VALID );
697+ MYSQLI_FETCH_RESOURCE (result , MYSQL_RES * , mysql_result , MYSQLI_STATUS_VALID );
698698
699699 array_init (return_value );
700700 num_fields = mysql_num_fields (result );
@@ -727,7 +727,7 @@ PHP_FUNCTION(mysqli_fetch_field_direct)
727727 RETURN_THROWS ();
728728 }
729729
730- MYSQLI_FETCH_RESOURCE (result , MYSQL_RES * , mysql_result , "mysqli_result" , MYSQLI_STATUS_VALID );
730+ MYSQLI_FETCH_RESOURCE (result , MYSQL_RES * , mysql_result , MYSQLI_STATUS_VALID );
731731
732732 if (offset >= (zend_long ) mysql_num_fields (result )) {
733733 zend_argument_value_error (ERROR_ARG_POS (2 ), "must be less than the number of fields for this result set" );
@@ -755,7 +755,7 @@ PHP_FUNCTION(mysqli_fetch_lengths)
755755 RETURN_THROWS ();
756756 }
757757
758- MYSQLI_FETCH_RESOURCE (result , MYSQL_RES * , mysql_result , "mysqli_result" , MYSQLI_STATUS_VALID );
758+ MYSQLI_FETCH_RESOURCE (result , MYSQL_RES * , mysql_result , MYSQLI_STATUS_VALID );
759759
760760 // TODO Warning?
761761 if (!(ret = mysql_fetch_lengths (result ))) {
@@ -809,7 +809,7 @@ PHP_FUNCTION(mysqli_field_seek)
809809 RETURN_THROWS ();
810810 }
811811
812- MYSQLI_FETCH_RESOURCE (result , MYSQL_RES * , mysql_result , "mysqli_result" , MYSQLI_STATUS_VALID );
812+ MYSQLI_FETCH_RESOURCE (result , MYSQL_RES * , mysql_result , MYSQLI_STATUS_VALID );
813813
814814 if ((uint32_t )fieldnr >= mysql_num_fields (result )) {
815815 zend_argument_value_error (ERROR_ARG_POS (2 ), "must be less than the number of fields for this result set" );
@@ -830,7 +830,7 @@ PHP_FUNCTION(mysqli_field_tell)
830830 if (zend_parse_method_parameters (ZEND_NUM_ARGS (), getThis (), "O" , & mysql_result , mysqli_result_class_entry ) == FAILURE ) {
831831 RETURN_THROWS ();
832832 }
833- MYSQLI_FETCH_RESOURCE (result , MYSQL_RES * , mysql_result , "mysqli_result" , MYSQLI_STATUS_VALID );
833+ MYSQLI_FETCH_RESOURCE (result , MYSQL_RES * , mysql_result , MYSQLI_STATUS_VALID );
834834
835835 RETURN_LONG (mysql_field_tell (result ));
836836}
@@ -845,7 +845,7 @@ PHP_FUNCTION(mysqli_free_result)
845845 if (zend_parse_method_parameters (ZEND_NUM_ARGS (), getThis (), "O" , & mysql_result , mysqli_result_class_entry ) == FAILURE ) {
846846 RETURN_THROWS ();
847847 }
848- MYSQLI_FETCH_RESOURCE (result , MYSQL_RES * , mysql_result , "mysqli_result" , MYSQLI_STATUS_VALID );
848+ MYSQLI_FETCH_RESOURCE (result , MYSQL_RES * , mysql_result , MYSQLI_STATUS_VALID );
849849
850850 mysqli_free_result (result , false);
851851 MYSQLI_CLEAR_RESOURCE (mysql_result );
@@ -1123,7 +1123,7 @@ PHP_FUNCTION(mysqli_num_fields)
11231123 if (zend_parse_method_parameters (ZEND_NUM_ARGS (), getThis (), "O" , & mysql_result , mysqli_result_class_entry ) == FAILURE ) {
11241124 RETURN_THROWS ();
11251125 }
1126- MYSQLI_FETCH_RESOURCE (result , MYSQL_RES * , mysql_result , "mysqli_result" , MYSQLI_STATUS_VALID );
1126+ MYSQLI_FETCH_RESOURCE (result , MYSQL_RES * , mysql_result , MYSQLI_STATUS_VALID );
11271127
11281128 RETURN_LONG (mysql_num_fields (result ));
11291129}
@@ -1138,7 +1138,7 @@ PHP_FUNCTION(mysqli_num_rows)
11381138 if (zend_parse_method_parameters (ZEND_NUM_ARGS (), getThis (), "O" , & mysql_result , mysqli_result_class_entry ) == FAILURE ) {
11391139 RETURN_THROWS ();
11401140 }
1141- MYSQLI_FETCH_RESOURCE (result , MYSQL_RES * , mysql_result , "mysqli_result" , MYSQLI_STATUS_VALID );
1141+ MYSQLI_FETCH_RESOURCE (result , MYSQL_RES * , mysql_result , MYSQLI_STATUS_VALID );
11421142
11431143 if (mysqli_result_is_unbuffered_and_not_everything_is_fetched (result )) {
11441144 zend_throw_error (NULL , "mysqli_num_rows() cannot be used in MYSQLI_USE_RESULT mode" );
0 commit comments