aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/cache.php
diff options
context:
space:
mode:
authorDavid M <davidmj@users.sourceforge.net>2006-10-01 08:48:32 +0000
committerDavid M <davidmj@users.sourceforge.net>2006-10-01 08:48:32 +0000
commitbc15445b58403c92ebca9e23ef3d9a59fbdccc92 (patch)
tree46880b44be1949f01ada2f29e7f3f42ab4123c1b /phpBB/includes/cache.php
parentbc770de9b93973a359a46ef39838e89f18e685ae (diff)
downloadforums-bc15445b58403c92ebca9e23ef3d9a59fbdccc92.tar
forums-bc15445b58403c92ebca9e23ef3d9a59fbdccc92.tar.gz
forums-bc15445b58403c92ebca9e23ef3d9a59fbdccc92.tar.bz2
forums-bc15445b58403c92ebca9e23ef3d9a59fbdccc92.tar.xz
forums-bc15445b58403c92ebca9e23ef3d9a59fbdccc92.zip
- forgot to make the same change to the ODBC driver
- MySQL 3.x works now - FirebirdSQL is now on the same level as MySQL and PostgreSQL, zero hacks exist inside the core code now git-svn-id: file:///svn/phpbb/trunk@6422 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/cache.php')
-rw-r--r--phpBB/includes/cache.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/cache.php b/phpBB/includes/cache.php
index a3a251d194..2ac8298047 100644
--- a/phpBB/includes/cache.php
+++ b/phpBB/includes/cache.php
@@ -280,7 +280,7 @@ class cache extends acm
$sql = 'SELECT user_id, bot_agent, bot_ip
FROM ' . BOTS_TABLE . '
WHERE bot_active = 1
- ORDER BY STRLEN(bot_agent) DESC';
+ ORDER BY CHAR_LENGTH(bot_agent) DESC';
break;
// LENGTH supported by MySQL, IBM DB2 and Oracle for sure...