Commit f96ac776 authored by Yoshinori Okuji's avatar Yoshinori Okuji

Exchange the order of checksum and compression.

git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@129 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent acba50c2
......@@ -112,8 +112,8 @@ class MySQLDatabaseManager(DatabaseManager):
q("""CREATE TABLE IF NOT EXISTS obj (
oid BINARY(8) NOT NULL,
serial BINARY(8) NOT NULL,
checksum INT UNSIGNED NOT NULL,
compression TINYINT UNSIGNED NOT NULL,
checksum INT UNSIGNED NOT NULL,
value MEDIUMBLOB NOT NULL,
PRIMARY KEY (oid, serial)
) ENGINE = InnoDB""")
......@@ -131,8 +131,8 @@ class MySQLDatabaseManager(DatabaseManager):
q("""CREATE TABLE IF NOT EXISTS tobj (
oid BINARY(8) NOT NULL,
serial BINARY(8) NOT NULL,
checksum INT UNSIGNED NOT NULL,
compression TINYINT UNSIGNED NOT NULL,
checksum INT UNSIGNED NOT NULL,
value MEDIUMBLOB NOT NULL
) ENGINE = InnoDB""")
......
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