Fixes for SQL Validator
This commit is contained in:
@@ -5,6 +5,13 @@ phpMyAdmin - Changelog
|
|||||||
$Id$
|
$Id$
|
||||||
$Source$
|
$Source$
|
||||||
|
|
||||||
|
2002-08-29 Robin Johnson <robbat2@users.sourceforge.net>
|
||||||
|
* libraries/sqlvalidator.lib.php3:
|
||||||
|
- Fix for bug in Alex's fix for bug #594947
|
||||||
|
line 67, change || to &&
|
||||||
|
- Fix for undefined string in error case of sqlvalidator that is
|
||||||
|
actually never reached. Just commented out for now
|
||||||
|
|
||||||
2002-08-28 Marc Delisle <lem9@users.sourceforge.net>
|
2002-08-28 Marc Delisle <lem9@users.sourceforge.net>
|
||||||
* libraries/display_tbl.lib.php3: Bug 576895: matching a float field
|
* libraries/display_tbl.lib.php3: Bug 576895: matching a float field
|
||||||
|
|
||||||
|
@@ -64,7 +64,7 @@ if (!defined('PMA_SQL_VALIDATOR_INCLUDED')) {
|
|||||||
|
|
||||||
if ($cfg['SQLValidator']['use']) {
|
if ($cfg['SQLValidator']['use']) {
|
||||||
if (!(isset($GLOBALS['sqlvalidator_error'])
|
if (!(isset($GLOBALS['sqlvalidator_error'])
|
||||||
|| !$GLOBALS['sqlvalidator_error'])) {
|
&& !$GLOBALS['sqlvalidator_error'])) {
|
||||||
// create new class instance
|
// create new class instance
|
||||||
$srv = new PMA_SQLValidator();
|
$srv = new PMA_SQLValidator();
|
||||||
|
|
||||||
@@ -92,10 +92,14 @@ if (!defined('PMA_SQL_VALIDATOR_INCLUDED')) {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
} else {
|
} // end if
|
||||||
|
|
||||||
|
/*
|
||||||
|
else {
|
||||||
// The service is not available so note that properly
|
// The service is not available so note that properly
|
||||||
$str = $GLOBALS['strValidatorDisabled'];
|
$str = $GLOBALS['strValidatorDisabled'];
|
||||||
} // end if... else...
|
} // end if... else...
|
||||||
|
*/
|
||||||
|
|
||||||
// Gives string back to caller
|
// Gives string back to caller
|
||||||
return $str;
|
return $str;
|
||||||
|
Reference in New Issue
Block a user