@@ -46,9 +46,6 @@ function func_mysqli_fetch_all(
46
46
47
47
$ fields = mysqli_fetch_fields ($ result );
48
48
49
- // I have no idea what this condition does as this seem to be some PHP 6 stuff???
50
- // if (!(gettype($php_value)=="unicode" && ($fields[1]->flags & 128))) {
51
-
52
49
if ($ regexp_comparison ) {
53
50
if (!preg_match ($ regexp_comparison , (string )$ row ['label ' ]) || !preg_match ($ regexp_comparison , (string )$ row [1 ])) {
54
51
printf ("[%04d] Expecting %s/%s [reg exp = %s], got %s/%s resp. %s/%s. [%d] %s \n" , $ offset + 4 ,
@@ -151,10 +148,10 @@ func_mysqli_fetch_all($link, $engine, "CHAR(255)", $string255, $string255, 550)
151
148
func_mysqli_fetch_all ($ link , $ engine , "CHAR(1) NOT NULL " , "a " , "a " , 560 );
152
149
func_mysqli_fetch_all ($ link , $ engine , "CHAR(1) " , NULL , NULL , 570 );
153
150
154
- $ string65k = func_mysqli_fetch_array_make_string (65400 );
151
+ $ string16k = func_mysqli_fetch_array_make_string (16000 );
155
152
func_mysqli_fetch_all ($ link , $ engine , "VARCHAR(1) " , "a " , "a " , 580 );
156
153
func_mysqli_fetch_all ($ link , $ engine , "VARCHAR(255) " , $ string255 , $ string255 , 590 );
157
- func_mysqli_fetch_all ($ link , $ engine , "VARCHAR(65400 ) " , $ string65k , $ string65k , 600 );
154
+ func_mysqli_fetch_all ($ link , $ engine , "VARCHAR(16000 ) " , $ string16k , $ string16k , 600 );
158
155
func_mysqli_fetch_all ($ link , $ engine , "VARCHAR(1) NOT NULL " , "a " , "a " , 610 );
159
156
func_mysqli_fetch_all ($ link , $ engine , "VARCHAR(1) " , NULL , NULL , 620 );
160
157
0 commit comments