Log in to MariaDB server, execute a query from SQL tab (eg. "SELECT1"), then click "Inline" and "Go". Instead of seeing query results I am redirected to "import.php?db=undefined&table=undefined&sql_query=...".
Firefox 5 master
On Sun, Jun 26, 2011 at 8:02 PM, Piotr Przybylski piotr.prz@gmail.com wrote:
Log in to MariaDB server, execute a query from SQL tab (eg. "SELECT1"), then click "Inline" and "Go". Instead of seeing query results I am redirected to "import.php?db=undefined&table=undefined&sql_query=...".
Firefox 5 master
The same when you try to use "export table" or "display chart". Didn't we have this bug just recently?
-- Regards, Piotr Przybylski
All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Phpmyadmin-devel mailing list Phpmyadmin-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel
Le 2011-06-26 14:02, Piotr Przybylski a écrit :
Log in to MariaDB server, execute a query from SQL tab (eg. "SELECT1"), then click "Inline" and "Go". Instead of seeing query results I am redirected to "import.php?db=undefined&table=undefined&sql_query=...".
Firefox 5 master
Piotr,
This happens also with the MySQL server. To reproduce, do not select any db and type this query "SELECT 1" which does not refer to a particular db. Then the db and table parameters passed to import.php contain "undefined".
In js/functions.js, the code attached to $(".inline_edit_sql") is not complete. It tries to get the db and table name from hidden parameters in the form; however, this parameter pair exists only when a table is open and the SQL tab is clicked.