Hi list
I'm jist thinking about automatically detecting whether uploaded sql is compressed or not. Do you thing, we can safely remove current checkboxes and keep everything on autodetection or should we keep them as fallback when detection fails?
The detection would check first few bytes ("BZh" is start of bzipped data, and 0x1F 0x8B for gzip).
Comments wanted :-)
Yes, less checkboxes is better!
Marc
Michal Cihar wrote:
Hi list
I'm jist thinking about automatically detecting whether uploaded sql is compressed or not. Do you thing, we can safely remove current checkboxes and keep everything on autodetection or should we keep them as fallback when detection fails?
The detection would check first few bytes ("BZh" is start of bzipped data, and 0x1F 0x8B for gzip).
Comments wanted :-)
Hi Michal!
I'm jist thinking about automatically detecting whether uploaded sql is compressed or not. Do you thing, we can safely remove current checkboxes and keep everything on autodetection or should we keep them as fallback when detection fails?
I would like to keep the radio buttons. Maybe add the default button named 'auto-detect'. If we drop the buttons I guess many users would think that GZIP/BZip support was dropped. And new users may think, that this feature doesn't even exist. You know how lazy newbies are, just look at the dozens of install requests we get a week. :-)
I think they don't waste that much space, even though I tend to keep the interface as reduced as possible.
Anyways: autodetection will sure be nice :)
Regards, Garvin.