summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxue <>2008-01-04 22:14:35 +0000
committerxue <>2008-01-04 22:14:35 +0000
commitb42131fe5e9769234afa27702e35d507cac0ba96 (patch)
treedb5ebbcd13eb831b4a18b53c2487713f888085cd
parent07fb71a7fc24a4caecec70288d4167906cdbd09e (diff)
fixed #766.
-rw-r--r--framework/Caching/TDbCache.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/framework/Caching/TDbCache.php b/framework/Caching/TDbCache.php
index 4acb2454..bc4d4309 100644
--- a/framework/Caching/TDbCache.php
+++ b/framework/Caching/TDbCache.php
@@ -33,6 +33,9 @@ Prado::using('System.Data.TDbConnection');
* exist in the database, it will be automatically created with the following structure:
* (key CHAR(128) PRIMARY KEY, value BLOB, expire INT)
*
+ * Note, if you are using MySQL, you may want to manually create the DB table by relacing
+ * BLOB with LONGBLOB. Some users reported that BLOB may cause problems in MySQL.
+ *
* If you want to change the cache table name, or if you want to create the table by yourself,
* you may set {@link setCacheTableName CacheTableName} and {@link setAutoCreateCacheTable AutoCreateCacheTableName} properties.
*