Commit 7c78fde9 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

use VARBINARY instead of VARCHAR for utf8 database.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18530 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c7815a4b
......@@ -65,9 +65,9 @@ class SQLCache(BaseCache):
cache_expire_check_interval = 3600
create_table_sql = '''CREATE TABLE %s(cache_id VARCHAR(970) NOT NULL,
create_table_sql = '''CREATE TABLE %s(cache_id VARBINARY(970) NOT NULL,
value LONGTEXT,
scope VARCHAR(20),
scope VARBINARY(20),
stored_at INT,
cache_duration INT DEFAULT 0,
calculation_time FLOAT,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment