bug 981343 CURRENT_TIMESTAMP

This commit is contained in:
Marc Delisle
2004-07-27 11:39:40 +00:00
parent 781aada903
commit 6f2bd8c543
3 changed files with 13 additions and 2 deletions

View File

@@ -1461,8 +1461,14 @@ if ($is_minimum_common == FALSE) {
if ($arr[$i+3]['type'] == 'alpha_reservedWord') {
$value = $third_upper_data . '_' . strtoupper($arr[$i+3]['data']);
}
} else {
// for example: ON UPDATE CURRENT_TIMESTAMP
// which is not for a foreign key
$value = '';
}
if (!empty($value)) {
$foreign[$foreign_key_number][$clause] = $value;
}
$foreign[$foreign_key_number][$clause] = $value;
}
}
}