tbl_properties_structure.php3 +40: Fix for a warning notice
libraries/sqlparser.lib.php3: Fix for another minor formatting quirk
This commit is contained in:
Robin Johnson
2002-07-31 20:18:27 +00:00
parent 81c69ade2b
commit 35099eb6b6
3 changed files with 8 additions and 3 deletions

View File

@@ -5,6 +5,10 @@ phpMyAdmin - Changelog
$Id$
$Source$
2002-07-31 Robin Johnson <robbat2@users.sourceforge.net>
* tbl_properties_structure.php3 +40: Fix for a warning notice
* libraries/sqlparser.lib.php3: Fix for another minor formatting quirk
2002-07-31 Marc Delisle <lem9@users.sourceforge.net>
* lang/thai: update, thanks to Arthit Suriyawongkul

View File

@@ -180,10 +180,10 @@ if (!defined('PMA_SQP_LIB_INCLUDED')) {
// Checks for MySQL escaping using a \
// And checks for ANSI escaping using the $quotetype character
if (PMA_STR_charIsEscaped($sql, $pos)) {
if ( ($pos < $len) && PMA_STR_charIsEscaped($sql, $pos)) {
$pos ++;
continue;
} else if (($sql[$pos] == $quotetype) && ($sql[$pos + 1] == $quotetype)) {
} else if ( ($pos+1 < $len) && ($sql[$pos] == $quotetype) && ($sql[$pos + 1] == $quotetype)) {
$pos = $pos + 2;
continue;
} else {
@@ -553,6 +553,7 @@ if (!defined('PMA_SQP_LIB_INCLUDED')) {
$keywords_with_brackets_1before = array(
'INDEX',
'KEY',
'ON',
'USING'
);

View File

@@ -264,7 +264,7 @@ if ($fields_cnt > 20) {
<!-- Browse links -->
<?php
echo "\n";
//$sub_part = '_structure';
$sub_part = '_structure';
include('./tbl_properties_links.php3');
} // end if ($fields_cnt > 20)
echo "\n\n";