File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1
- ### changes in phpMiniAdmin 1.9.200928 (latest)
1
+ ### changes in phpMiniAdmin 1.9.210129 (latest)
2
+ - limited max packet size during export to aviod PHP memory exhausted errors on huge tables
3
+
4
+ ### changes in phpMiniAdmin 1.9.200928
2
5
- added ability to setup SSL connection (define at least "ssl_ca" in ` $DBDEF ` )
3
6
4
7
### changes in phpMiniAdmin 1.9.190822
71
74
- fixed: truncate button doesn't work
72
75
- minor changes in text labels and css styles
73
76
74
- ### changes in phpMiniAdmin 1.7.110429
75
-
76
- - added: import/export to/from gzip compressed files (.gz)
77
-
Original file line number Diff line number Diff line change 33
33
if (function_exists ('date_default_timezone_set ' )) date_default_timezone_set ('UTC ' );#required by PHP 5.1+
34
34
35
35
//constants
36
- $ VERSION ='1.9.200928 ' ;
36
+ $ VERSION ='1.9.210129 ' ;
37
37
$ MAX_ROWS_PER_PAGE =50 ; #max number of rows in select per one page
38
38
$ D ="\r\n" ; #default delimiter for export
39
39
$ BOM =chr (239 ).chr (187 ).chr (191 );
@@ -864,6 +864,7 @@ function do_export(){
864
864
$ z =db_row ("show variables like 'max_allowed_packet' " );
865
865
$ MAXI =floor ($ z ['Value ' ]*0.8 );
866
866
if (!$ MAXI )$ MAXI =838860 ;
867
+ $ MAXI =min ($ MAXI ,16777216 );
867
868
$ aext ='' ;$ ctp ='' ;
868
869
869
870
$ ex_super =($ _REQUEST ['sp ' ])?1 :0 ;
You can’t perform that action at this time.
0 commit comments