aboutsummaryrefslogtreecommitdiff
path: root/src/sqliteInt.h
diff options
context:
space:
mode:
authordrh <>2021-08-18 19:22:27 +0000
committerdrh <>2021-08-18 19:22:27 +0000
commit72532f52bce548348cff66b6113776e11d6d7f3f (patch)
treee8f60a3acdb016bc9085aaa9a2ba39e8d5caa56f /src/sqliteInt.h
parent44183f83d0fbbc1e092b990afd2ede033759574f (diff)
downloadsqlite-72532f52bce548348cff66b6113776e11d6d7f3f.tar.gz
sqlite-72532f52bce548348cff66b6113776e11d6d7f3f.zip
Trying to insert an incorrect datatype into a STRICT table raises an
SQLITE_CONSTRAINT_DATATYPE error. Seems to work, though lots more testing is needed. FossilOrigin-Name: a19305e5cfedf5c472200d6e05c1396443e348f052a40a0979f860f2ff06851d
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r--src/sqliteInt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h
index 5a3acfd03..0a0117909 100644
--- a/src/sqliteInt.h
+++ b/src/sqliteInt.h
@@ -2039,7 +2039,7 @@ struct Module {
struct Column {
char *zCnName; /* Name of this column */
unsigned notNull :4; /* An OE_ code for handling a NOT NULL constraint */
- unsigned eCType :4; /* One of the standard types */
+ unsigned eCType :4; /* One of the standard types */
char affinity; /* One of the SQLITE_AFF_... values */
u8 szEst; /* Est size of value in this column. sizeof(INT)==1 */
u8 hName; /* Column name hash for faster lookup */