bug #2280904 [export] do not include view name in export
This commit is contained in:
@@ -10,6 +10,7 @@ $HeadURL: https://phpmyadmin.svn.sourceforge.net/svnroot/phpmyadmin/trunk/phpMyA
|
||||
thanks to Martin Stricker - martinstricker
|
||||
- bug #2186823 [core] bad session.save_path not detected
|
||||
- bug #2202709 [core] Re-login causes PMA to forget current table name
|
||||
- bug #2280904 [export] do not include view name in export
|
||||
|
||||
3.1.0.0 (not yet released)
|
||||
+ [auth] Support for Swekey hardware authentication,
|
||||
|
@@ -518,7 +518,12 @@ function PMA_getTableDef($db, $table, $crlf, $error_url, $show_dates = false, $a
|
||||
// Note: SHOW CREATE TABLE, at least in MySQL 5.1.23, does not
|
||||
// produce a displayable result for the default value of a BIT
|
||||
// field, nor does the mysqldump command. See MySQL bug 35796
|
||||
$result = PMA_DBI_try_query('SHOW CREATE TABLE ' . PMA_backquote($db) . '.' . PMA_backquote($table));
|
||||
/*
|
||||
* We have to select database and not use database name in SHOW CREATE,
|
||||
* otherwise CREATE statement can include database name.
|
||||
*/
|
||||
PMA_DBI_select_db($db);
|
||||
$result = PMA_DBI_try_query('SHOW CREATE TABLE ' . PMA_backquote($table));
|
||||
// an error can happen, for example the table is crashed
|
||||
$tmp_error = PMA_DBI_getError();
|
||||
if ($tmp_error) {
|
||||
|
Reference in New Issue
Block a user