1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-11 01:42:22 +03:00

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
This commit is contained in:
drh
2021-08-23 10:28:02 +00:00
parent 2a0eefd665
commit b9fd0101bd
7 changed files with 41 additions and 30 deletions

View File

@@ -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.
**