Handle correctly AUTO (bug #1497239).
[phpmyadmin/last10db.git] / db_details.php
blob28feab725fc11a19a97348d4f40c47d8b00c7be7
1 <?php
2 /* $Id$ */
3 // vim: expandtab sw=4 ts=4 sts=4:
5 require_once('./libraries/common.lib.php');
7 /**
8 * Runs common work
9 */
10 require('./libraries/db_details_common.inc.php');
11 require_once './libraries/sql_query_form.lib.php';
13 /**
14 * Gets informations about the database and, if it is empty, move to the
15 * "db_details_structure.php" script where table can be created
17 require('./libraries/db_details_db_info.inc.php');
18 if ( $num_tables == 0 && empty( $db_query_force ) ) {
19 $sub_part = '';
20 $is_info = TRUE;
21 require './db_details_structure.php';
22 exit();
25 /**
26 * Query box, bookmark, insert data from textfile
28 PMA_sqlQueryForm();
30 /**
31 * Displays the footer
33 require_once './libraries/footer.inc.php';