fixed copying of table
This commit is contained in:
@@ -14,6 +14,8 @@ $Source$
|
||||
to sql.php3.
|
||||
* libraries/display_export.lib.php3: Again fixed selecting table/db
|
||||
filename template.
|
||||
* tbl_move_copy.php3, libraries/sqlparser.lib.php3: Fixed copying of
|
||||
table.
|
||||
|
||||
2003-03-20 Marc Delisle <lem9@users.sourceforge.net>
|
||||
* lang/hebrew update, thanks to Yuval Sarna
|
||||
|
@@ -1396,7 +1396,7 @@ if (!defined('PMA_SQP_LIB_INCLUDED')) {
|
||||
break;
|
||||
case 'query_only':
|
||||
$str = '';
|
||||
$html_line_break = ' ';
|
||||
$html_line_break = "\n";
|
||||
break;
|
||||
case 'text':
|
||||
$str = '';
|
||||
|
@@ -141,7 +141,7 @@ if (isset($new_name) && trim($new_name) != '') {
|
||||
$sql_structure = PMA_getTableDef($db, $table, "\n", $err_url);
|
||||
$parsed_sql = PMA_SQP_parse($sql_structure);
|
||||
// no need to PMA_backquote()
|
||||
$parsed_sql[2]['data'] = $target;
|
||||
$parsed_sql[9]['data'] = $target;
|
||||
$sql_structure = PMA_SQP_formatHtml($parsed_sql, 'query_only');
|
||||
|
||||
// do not create the table if dataonly
|
||||
|
Reference in New Issue
Block a user