bug #1734285 Copy database with VIEWs

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

View File

@@ -68,6 +68,10 @@ $HeadURL: https://phpmyadmin.svn.sourceforge.net/svnroot/phpmyadmin/trunk/phpMyA
+ [gui] Query window: use verbose server name if any
+ [auth] patch #1712514 specify host for single signon, thanks to Thierry
2.10.3.0 (not yet released)
- bug #1734285 Copy database with VIEWs
2.10.2.0 (not yet released)
+ [data] display all warnings, not only last one

View File

@@ -2370,10 +2370,13 @@ if (! defined('PMA_MINIMUM_COMMON')) {
}
break;
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 .= ' ';
}
if ($typearr[1] != 'punct_qualifier' && $typearr[1] != 'alpha_variable') {
if ($typearr[1] != 'punct_qualifier' && $typearr[1] != 'alpha_variable' && $typearr[1] != 'punct_user') {
$before .= ' ';
}
break;