[Phpmyadmin-devel] Withdrawing bzip2 export / import?
marc at infomarc.info
Tue Jan 14 16:57:40 CET 2014
I had a look at this bug . Not being able to completely import a .bz2
file is serious.
The .bz2 generated by phpMyAdmin (with $cfg['CompressOnFly'] being true
by default) contains extra headers that are not handled correctly by the
bzread() function. This happens for export files reaching a certain size.
Curiously, the bunzip2 command handles the file correctly.
Forcing $cfg['CompressOnFly'] to false for .bz2 will only bring us
memory problems at export time.
I have contacted the author of bzip, asking for an opinion. No answer so
far after four days.
I see two possible solutions:
- ask users to uncompress / recompress their .bz2 export file before
importing (not elegant; might be difficult to make this procedure known
- withdraw support for exporting/importing in .bz2
http://infomarc.info | http://phpmyadmin.net
More information about the Developers