fix num_values detection + emitting correct column for temp_table + tests

This commit is contained in:
pedrocarlo 2025-05-25 00:31:16 -03:00
parent e3fd1e589e
commit ee93316c46
3 changed files with 37 additions and 4 deletions

View file

@ -332,8 +332,8 @@ fn test_insert_after_big_blob() -> anyhow::Result<()> {
let tmp_db = TempDatabase::new_with_rusqlite("CREATE TABLE temp (t1 BLOB, t2 INTEGER)");
let conn = tmp_db.connect_limbo();
conn.execute("insert into temp values (zeroblob (262144))")?;
conn.execute("insert into temp values (1)")?;
conn.execute("insert into temp(t1) values (zeroblob (262144))")?;
conn.execute("insert into temp(t2) values (1)")?;
Ok(())
}