Files
ast-project/part1/results/2/bug_779a0b09-35dd-4df3-96ef-8e49bcc9454a_logic.md
T
2026-06-24 13:47:14 +02:00

1.8 KiB

Summary

**No review yet**

Minimized query

PRAGMA recursive_triggers = NO;
PRAGMA count_changes = ON;
PRAGMA cache_spill = YES;
.dbconfig
CREATE TABLE t1(a,b);
INSERT INTO t1 VALUES(1,11);
INSERT INTO t1 VALUES(2,22);
INSERT INTO t1 SELECT a+2, b+22 FROM t1;
INSERT INTO t1 SELECT a+4, b+44 FROM t1;
CREATE TABLE t2(c,d);
INSERT INTO t2 SELECT a, 900+b FROM t1;
PRAGMA automatic_index=ON;
SELECT b, d FROM t1 JOIN t2 ON a=c ORDER BY b;

CREATE  INDEX IF NOT EXISTS idx_t1_8154 ON t1(a COLLATE NOCASE) WHERE a > 0;
DELETE FROM t2 WHERE c IS NULL;
ALTER TABLE t1 RENAME COLUMN b TO b_r305;

Actual output

defensive off
            dqs_ddl on
            dqs_dml on
        enable_fkey off
        enable_qpsg off
     enable_trigger on
        enable_view on
     fts3_tokenizer off
 legacy_alter_table off
 legacy_file_format off
     load_extension on
   no_ckpt_on_close off
     reset_database off
        trigger_eqp off
     trusted_schema on
    writable_schema off
1
1
2
4
8
11|911
22|922
33|933
44|944
55|955
66|966
77|977
88|988
0

Expectation

attach_create on
       attach_write on
           comments on
          defensive on
            dqs_ddl off
            dqs_dml off
        enable_fkey off
        enable_qpsg off
     enable_trigger on
        enable_view on
     fts3_tokenizer off
 legacy_alter_table off
 legacy_file_format off
     load_extension on
   no_ckpt_on_close off
     reset_database off
  reverse_scanorder off
    stmt_scanstatus off
        trigger_eqp off
     trusted_schema off
    writable_schema off
1
1
2
4
8
11|911
22|922
33|933
44|944
55|955
66|966
77|977
88|988
0

Flag

-deserialize