2 /* vim: set expandtab sw=4 ts=4 sts=4: */
9 * Gets some core libraries
11 require_once './libraries/common.inc.php';
12 require_once './libraries/bookmark.lib.php';
15 PMA_checkParameters(array('db', 'table'));
17 if (PMA_MYSQL_INT_VERSION
>= 50002 && $db === 'information_schema') {
18 $db_is_information_schema = true;
20 $db_is_information_schema = false;
24 * Set parameters for links
27 $url_query = PMA_generate_common_url($db, $table);
29 $url_params['db'] = $db;
30 $url_params['table'] = $table;
33 * Defines the urls to return to in case of error in a sql statement
35 $err_url_0 = $cfg['DefaultTabDatabase'] . PMA_generate_common_url(array('db' => $db,));
36 $err_url = $cfg['DefaultTabTable'] . PMA_generate_common_url($url_params);
40 * Ensures the database and the table exist (else move to the "parent" script)
42 require_once './libraries/db_table_exists.lib.php';