Skip to content

Commit eb1474c

Browse files
committed
1.9.210129
1 parent 6e2e52b commit eb1474c

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

changelog.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
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
@@ -71,7 +74,3 @@
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-

phpminiadmin.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
if (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;

0 commit comments

Comments
 (0)