[Phpmyadmin-devel] Rebuilding the sql from the scratch

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


Hi,

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
scratch.

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] :
http://sourceforge.net/tracker/?func=detail&aid=3034670&group_id=23067&atid=377408

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