bug #1444892, TYPE deprecated in MySQL 5.1

This commit is contained in:
Marc Delisle
2006-03-08 18:07:55 +00:00
parent 55c79bdf7c
commit 4d359e7e2f
4 changed files with 17 additions and 4 deletions

View File

@@ -737,6 +737,14 @@ function PMA_DBI_postConnect($link, $is_controluser = false)
}
}
if (!defined('PMA_ENGINE_KEYWORD')) {
if (PMA_MYSQL_INT_VERSION >= 40102) {
define('PMA_ENGINE_KEYWORD','ENGINE');
} else {
define('PMA_ENGINE_KEYWORD','TYPE');
}
}
if (PMA_MYSQL_INT_VERSION >= 40100) {
// If $lang is defined and we are on MySQL >= 4.1.x,