Commit 2ff44646 authored by Sebastien Robin's avatar Sebastien Robin

increase blob size from BLOB to LONGBLOB :

if L is the size of the string,
BLOB = L+2 octets, with L < 2^16
LONGBLOG = L+4 octets, with L < 2^32


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@15200 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 3a1c12f6
...@@ -22,7 +22,7 @@ CREATE TABLE `message` ( ...@@ -22,7 +22,7 @@ CREATE TABLE `message` (
`tag` VARCHAR(255) NOT NULL, `tag` VARCHAR(255) NOT NULL,
`retry` TINYINT UNSIGNED NOT NULL DEFAULT 0, `retry` TINYINT UNSIGNED NOT NULL DEFAULT 0,
`order_validation_text` VARCHAR(255) NOT NULL, `order_validation_text` VARCHAR(255) NOT NULL,
`message` BLOB NOT NULL, `message` LONGBLOB NOT NULL,
PRIMARY KEY (`uid`), PRIMARY KEY (`uid`),
KEY (`path`), KEY (`path`),
KEY (`method_id`), KEY (`method_id`),
......
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