[Phpmyadmin-devel] Rebuilding the sql from the scratch

Chanaka Dharmarathna pe.chanaka.ck at gmail.com
Sun Oct 28 07:21:45 CET 2012


I'm working on bug [0].
Relevant modifications to the sql query is done inside tbl_export.php,
according to the selected results from the table browse window which is
going to export. When modifying the query, it actually rebuild from the

As I understand there are 2 requirements for modify the query.
1. Remove the LIMIT clause (for append any where clause)
2. Add needed filtering clause (additional where clause)

To do the above things is it really need to rebuild the query from the
scratch ?
I don't think that there are scenarios which need to modify the beginning
part of he query (before where clause). So is it okay to modify the query
only from the where clause. Though the current analyzer doesn't support for
the multiple select statements, hopefully this will fix the bug I mentioned.
Any thoughts on this ?

[0] :

Regards !
Chanaka Dharmarathna
*Virtusa (Pvt) Ltd. | **Sri Lanka*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.phpmyadmin.net/pipermail/developers/attachments/20121028/21f1e799/attachment.html>

More information about the Developers mailing list