This repository has been archived by the owner on Nov 25, 2020. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
serialized data can contain null bytes, store them in blob
Signed-off-by: Etienne CHAMPETIER <etienne.champetier@fiducial.net>
- Loading branch information
Etienne CHAMPETIER
committed
Oct 8, 2013
1 parent
ae1dde8
commit b551098
Showing
8 changed files
with
14 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
CREATE TABLE IF NOT EXISTS ajxp_simple_store ( | ||
object_id VARCHAR(255) NOT NULL, | ||
store_id VARCHAR(50) NOT NULL, | ||
serialized_data LONGTEXT NULL, | ||
serialized_data LONGBLOB NULL, | ||
binary_data LONGBLOB NULL, | ||
related_object_id VARCHAR(255) NULL, | ||
PRIMARY KEY(object_id, store_id) | ||
); | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
CREATE TABLE IF NOT EXISTS ajxp_simple_store ( | ||
object_id text NOT NULL, | ||
store_id text NOT NULL, | ||
serialized_data longtext, | ||
serialized_data blob, | ||
binary_data blob, | ||
related_object_id text DEFAULT NULL | ||
); |