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:
cxl 2014-08-11 09:51:02 +00:00
commit 097de77a87
4 changed files with 16 additions and 16 deletions

View file

@ -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 ";") \