bug #1734285 Copy database with VIEWs

This commit is contained in:
Marc Delisle
2007-06-11 17:00:56 +00:00
parent d4c281e91e
commit 416e4c8d89
2 changed files with 9 additions and 2 deletions

View File

@@ -5,6 +5,10 @@ phpMyAdmin - ChangeLog
$Id$ $Id$
$HeadURL$ $HeadURL$
2.10.3.0 (not yet released)
- bug #1734285 Copy database with VIEWs
2.10.2.0 (not yet released) 2.10.2.0 (not yet released)
+ [data] display all warnings, not only last one + [data] display all warnings, not only last one

View File

@@ -2315,10 +2315,13 @@ if ( ! defined( 'PMA_MINIMUM_COMMON' ) ) {
} }
break; break;
case 'quote_backtick': case 'quote_backtick':
if ($typearr[3] != 'punct_qualifier' && $typearr[3] != 'alpha_variable') { // here we check for punct_user to handle correctly
// DEFINER = `username`@`%`
// where @ is the punct_user and `%` is the quote_backtick
if ($typearr[3] != 'punct_qualifier' && $typearr[3] != 'alpha_variable' && $typearr[3] != 'punct_user') {
$after .= ' '; $after .= ' ';
} }
if ($typearr[1] != 'punct_qualifier' && $typearr[1] != 'alpha_variable') { if ($typearr[1] != 'punct_qualifier' && $typearr[1] != 'alpha_variable' && $typearr[1] != 'punct_user') {
$before .= ' '; $before .= ' ';
} }
break; break;