mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-10-06 00:30:10 -06:00
SqlSchema: CLOB/BLOB width now set as INT_MAX/2 (not 0)
git-svn-id: svn://ultimatepp.org/upp/trunk@7582 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
43f750cf91
commit
097de77a87
4 changed files with 16 additions and 16 deletions
|
|
@ -59,11 +59,11 @@
|
|||
#define LONGRAW(x) COLUMN("bytea", String, x, 0, 0)
|
||||
#define LONGRAW_(x) COLUMN_("bytea", String, x, 0, 0)
|
||||
|
||||
#define BLOB(x) COLUMN("bytea", String, x, 0, 0)
|
||||
#define BLOB_(x) COLUMN_("bytea", String, x, 0, 0)
|
||||
#define BLOB(x) COLUMN("bytea", String, x, INT_MAX/2, 0)
|
||||
#define BLOB_(x) COLUMN_("bytea", String, x, INT_MAX/2, 0)
|
||||
|
||||
#define CLOB(x) COLUMN("text", String, x, 0, 0)
|
||||
#define CLOB_(x) COLUMN_("text", String, x, 0, 0)
|
||||
#define CLOB(x) COLUMN("text", String, x, INT_MAX/2, 0)
|
||||
#define CLOB_(x) COLUMN_("text", String, x, INT_MAX/2, 0)
|
||||
|
||||
#define SEQUENCE(x) SCHEMA("create sequence " #x " start with 1;",\
|
||||
"drop sequence " #x ";") \
|
||||
|
|
|
|||
Loading…
Reference in a new issue