2 /* vim: set expandtab sw=4 ts=4 sts=4: */
10 * Gets some core libraries
12 require_once './libraries/common.inc.php';
13 require './libraries/StorageEngine.class.php';
16 * Includ settings for relation stuff
17 * get all variables needed for exporting relational schema
20 require_once './libraries/relation.lib.php';
21 $cfgRelation = PMA_getRelationsParam();
24 * Settings for relation stuff
26 require_once './libraries/transformations.lib.php';
27 require_once './libraries/Index.class.php';
30 * This is to avoid "Command out of sync" errors. Before switching this to
31 * a value of 0 (for MYSQLI_USE_RESULT), please check the logic
32 * to free results wherever needed.
34 $query_default_option = PMA_DBI_QUERY_STORE
;
37 * get all the export options and verify
38 * call and include the appropriate Schema Class depending on $export_type
43 global $db,$export_type;
44 $export_type = isset($export_type) ?
$export_type : 'pdf';
45 PMA_DBI_select_db($db);
47 include("./libraries/schema/".ucfirst($export_type)."_Relation_Schema.class.php");
48 $obj_schema = eval("new PMA_".ucfirst($export_type)."_Relation_Schema();");