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
25- added ability to setup SSL connection (define at least "ssl_ca" in ` $DBDEF ` )
36
47### changes in phpMiniAdmin 1.9.190822
7174- fixed: truncate button doesn't work
7275- minor changes in text labels and css styles
7376
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 3333if (function_exists ('date_default_timezone_set ' )) date_default_timezone_set ('UTC ' );#required by PHP 5.1+
3434
3535//constants
36- $ VERSION ='1.9.200928 ' ;
36+ $ VERSION ='1.9.210129 ' ;
3737$ MAX_ROWS_PER_PAGE =50 ; #max number of rows in select per one page
3838$ D ="\r\n" ; #default delimiter for export
3939$ BOM =chr (239 ).chr (187 ).chr (191 );
@@ -864,6 +864,7 @@ function do_export(){
864864 $ z =db_row ("show variables like 'max_allowed_packet' " );
865865 $ MAXI =floor ($ z ['Value ' ]*0.8 );
866866 if (!$ MAXI )$ MAXI =838860 ;
867+ $ MAXI =min ($ MAXI ,16777216 );
867868 $ aext ='' ;$ ctp ='' ;
868869
869870 $ ex_super =($ _REQUEST ['sp ' ])?1 :0 ;
You can’t perform that action at this time.
0 commit comments