bug 1221602, undefined variable when trying to use a reserved word as an identifier
This commit is contained in:
@@ -5,6 +5,10 @@ phpMyAdmin - Changelog
|
||||
$Id$
|
||||
$Source$
|
||||
|
||||
2005-06-18 Marc Delisle <lem9@users.sourceforge.net>
|
||||
* libraries/sqlparser.lib.php: bug 1221602, undefined variable when trying
|
||||
to use a reserved word as an identifier
|
||||
|
||||
2005-06-12 Marc Delisle <lem9@users.sourceforge.net>
|
||||
* tbl_properties.inc.php: visually bind the Add x fields dialog to its
|
||||
submit button
|
||||
|
@@ -1681,7 +1681,6 @@ if ($is_minimum_common == FALSE) {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if (($arr[$i]['type'] == 'alpha_columnAttrib')) {
|
||||
$upper_data = strtoupper($arr[$i]['data']);
|
||||
if ($seen_create_table && $in_create_table_fields) {
|
||||
@@ -1691,10 +1690,9 @@ if ($is_minimum_common == FALSE) {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if (($arr[$i]['type'] == 'alpha_columnType')) {
|
||||
$upper_data = strtoupper($arr[$i]['data']);
|
||||
if ($seen_create_table && $in_create_table_fields) {
|
||||
if ($seen_create_table && $in_create_table_fields && isset($current_identifier)) {
|
||||
$create_table_fields[$current_identifier]['type'] = $upper_data;
|
||||
if ($upper_data == 'TIMESTAMP') {
|
||||
$in_timestamp_options = TRUE;
|
||||
|
Reference in New Issue
Block a user