bug 1221602, undefined variable when trying to use a reserved word as an identifier

This commit is contained in:
Marc Delisle
2005-06-18 11:07:05 +00:00
parent a6c4d3e1d6
commit 34d03eac93
2 changed files with 5 additions and 3 deletions

View File

@@ -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;