From 6ffbdb49081d9a4f4facf17942405ba0e8dd7975 Mon Sep 17 00:00:00 2001 From: themixednuts Date: Thu, 28 Aug 2025 00:53:33 -0500 Subject: [PATCH] fix: column case sensitivity on strict table --- core/vdbe/execute.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/vdbe/execute.rs b/core/vdbe/execute.rs index 211164b25..4f5ab5ccc 100644 --- a/core/vdbe/execute.rs +++ b/core/vdbe/execute.rs @@ -1762,10 +1762,10 @@ pub fn op_type_check( return Ok(()); } let col_affinity = col.affinity(); - let ty_str = col.ty_str.as_str(); + let ty_str = col.ty_str.to_ascii_uppercase(); let applied = apply_affinity_char(reg, col_affinity); let value_type = reg.get_value().value_type(); - match (ty_str, value_type) { + match (ty_str.as_str(), value_type) { ("INTEGER" | "INT", ValueType::Integer) => {} ("REAL", ValueType::Float) => {} ("BLOB", ValueType::Blob) => {}