diff options
author | drh <> | 2021-08-23 10:28:02 +0000 |
---|---|---|
committer | drh <> | 2021-08-23 10:28:02 +0000 |
commit | b9fd0101bd350b5256a72bf3567fd9ad2e60c4b3 (patch) | |
tree | 48fe251e5637945fc3f1535087e183c38a2b529c /src/sqliteInt.h | |
parent | 2a0eefd66536fea7ac7f57d67ce97aa0b1da7338 (diff) | |
download | sqlite-b9fd0101bd350b5256a72bf3567fd9ad2e60c4b3.tar.gz sqlite-b9fd0101bd350b5256a72bf3567fd9ad2e60c4b3.zip |
Back out the change that allows typeless columns in strict tables. Replace
that capability with an ANY type for strict tables that will accept any
datatype with BLOB affinity.
FossilOrigin-Name: d8fd1a2bfd51848ea612142d23475b268b3f5269e558f2e09713d1ac18b18274
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r-- | src/sqliteInt.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h index 348a41393..5308ca95c 100644 --- a/src/sqliteInt.h +++ b/src/sqliteInt.h @@ -2055,12 +2055,13 @@ struct Column { ** Adjust the SQLITE_N_STDTYPE value if adding or removing entries. */ #define COLTYPE_CUSTOM 0 /* Type appended to zName */ -#define COLTYPE_BLOB 1 -#define COLTYPE_INT 2 -#define COLTYPE_INTEGER 3 -#define COLTYPE_REAL 4 -#define COLTYPE_TEXT 5 -#define SQLITE_N_STDTYPE 5 /* Number of standard types */ +#define COLTYPE_ANY 1 +#define COLTYPE_BLOB 2 +#define COLTYPE_INT 3 +#define COLTYPE_INTEGER 4 +#define COLTYPE_REAL 5 +#define COLTYPE_TEXT 6 +#define SQLITE_N_STDTYPE 6 /* Number of standard types */ /* Allowed values for Column.colFlags. ** |