[Phpmyadmin-devel] origin of the variable $selected in sql.php

Mohamed Ashraf mohamed.ashraf.213 at gmail.com
Tue Jul 16 23:56:02 CEST 2013


On Tue, Jul 16, 2013 at 6:17 PM, Supun Nakandala
<supun.nakandala at gmail.com> wrote:
> Hi devs,
> According to my research I couldn't find any place where the variable
> $selected is set which is used in sql.php. Also this variable is used to
> check indexes if indexes should be checked in sql.lib.php. I am not sure
> about what is meant by checking an index. But since $selected seems to be
> not initialized this code will never run. I would like to know your opinion
> on this issue.

it might be set in other code that includes sql.php. you can use git
grep to look at all the files and check if anyof the files that
include/call sql.php set this variable

>
> regards supun.
>
> ------------------------------------------------------------------------------
> See everything from the browser to the database with AppDynamics
> Get end-to-end visibility with application monitoring from AppDynamics
> Isolate bottlenecks and diagnose root cause in seconds.
> Start your free trial of AppDynamics Pro today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
> _______________________________________________
> Phpmyadmin-devel mailing list
> Phpmyadmin-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel
>




More information about the Developers mailing list