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.