Little code reorganistaion (RFE #957308), removed some remaining php3 compatibility code in SQL parser.
This commit is contained in:
@@ -5,6 +5,10 @@ phpMyAdmin - Changelog
|
|||||||
$Id$
|
$Id$
|
||||||
$Source$
|
$Source$
|
||||||
|
|
||||||
|
2004-05-20 Michal Čihař <michal@cihar.com>
|
||||||
|
* many files: Little code reorganistaion (RFE #957308), removed some
|
||||||
|
remaining php3 compatibility code in SQL parser.
|
||||||
|
|
||||||
2004-05-20 Marc Delisle <lem9@users.sourceforge.net>
|
2004-05-20 Marc Delisle <lem9@users.sourceforge.net>
|
||||||
* pdf_schema.php: set contents page (first page)'s orientation
|
* pdf_schema.php: set contents page (first page)'s orientation
|
||||||
to the same asked for the data dictionary
|
to the same asked for the data dictionary
|
||||||
|
@@ -672,9 +672,7 @@ if ($is_minimum_common == FALSE) {
|
|||||||
if (strcmp($whatWeWant, $toCheck) == 0) {
|
if (strcmp($whatWeWant, $toCheck) == 0) {
|
||||||
return TRUE;
|
return TRUE;
|
||||||
} else {
|
} else {
|
||||||
//if(strpos($whatWeWant, $typeSeperator) === FALSE) {
|
if (strpos($whatWeWant, $typeSeperator) === FALSE) {
|
||||||
// PHP3 compatible (works unless there is a real ff character)
|
|
||||||
if(!strpos("\xff" . $whatWeWant, $typeSeperator)) {
|
|
||||||
return strncmp($whatWeWant, $toCheck , strpos($toCheck, $typeSeperator)) == 0;
|
return strncmp($whatWeWant, $toCheck , strpos($toCheck, $typeSeperator)) == 0;
|
||||||
} else {
|
} else {
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
Reference in New Issue
Block a user