aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authornikrou <nikrou@piwigo.org>2010-04-10 19:52:40 +0000
committernikrou <nikrou@piwigo.org>2010-04-10 19:52:40 +0000
commit265d57e83026e190fb1936ffd54702ac2101f5ab (patch)
tree2041e9db1deb3961551eba6dc7e290cde8006bd9 /include
parent8ed51d84970bd1ce44a093d0ae5801a7c656b821 (diff)
Bug 1567 fixed : problem with old version of mysql
required version is now 5.0.0 move required version to functions database specific file like others engines git-svn-id: http://piwigo.org/svn/trunk@5782 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--include/constants.php1
-rw-r--r--include/dblayer/functions_mysql.inc.php1
2 files changed, 1 insertions, 1 deletions
diff --git a/include/constants.php b/include/constants.php
index eb4611f32..db55673b4 100644
--- a/include/constants.php
+++ b/include/constants.php
@@ -30,7 +30,6 @@ define('PHPWG_THEMES_PATH', $conf['themes_dir'].'/');
// Required versions
define('REQUIRED_PHP_VERSION', '5.0.0');
-define('REQUIRED_MYSQL_VERSION', '4.1.22');
// Access codes
define('ACCESS_FREE', 0);
diff --git a/include/dblayer/functions_mysql.inc.php b/include/dblayer/functions_mysql.inc.php
index c21c697ae..437d603bd 100644
--- a/include/dblayer/functions_mysql.inc.php
+++ b/include/dblayer/functions_mysql.inc.php
@@ -22,6 +22,7 @@
// +-----------------------------------------------------------------------+
define('DB_ENGINE', 'MySQL');
+define('REQUIRED_MYSQL_VERSION', '5.0.0');
define('DB_REGEX_OPERATOR', 'REGEXP');
define('DB_RANDOM_FUNCTION', 'RAND');