replaced MYSQL_MAJOR_VERSION and MYSQL_MINOR_VERSION constants by MYSQL_INT_VERSION

This commit is contained in:
Loïc Chapeaux
2001-08-21 16:28:36 +00:00
parent ba9aaa4c0f
commit 8fafafb823
12 changed files with 42 additions and 37 deletions

View File

@@ -121,7 +121,7 @@ if (isset($submit)) {
if (!empty($tbl_type) && ($tbl_type != 'Default')) {
$sql_query .= ' TYPE = ' . $tbl_type;
}
if (MYSQL_MAJOR_VERSION == 3.23 && !empty($comment)) {
if (MYSQL_INT_VERSION >= 32300 && !empty($comment)) {
$sql_query .= ' comment = \'' . sql_addslashes($comment) . '\'';
}