SQLite

Ticket Change Details
Login
Overview

Artifact ID: 6e4769b46dbbca6ae39d38632126a9f39757a5df8570e5ef66ff9a74adb6c1f5
Ticket: fd3aec0c7e3e29988f40a40de3a87ed833e94cb3
Valgrind warning if PK has more columns than the table.
User & Date: drh 2019-07-17 01:27:19
Changes

  1. icomment:
    A valgrind warning is generated by the following SQL:
    
    <blockquote><verbatim>
    CREATE TABLE t1(a INT, PRIMARY KEY(a,a COLLATE NOCASE)) WITHOUT ROWID;
    EXPLAIN INSERT INTO t1(a) VALUES(1);
    </verbatim></blockquote>
    
    This problem seems to have been introduced by check-in
    [1b1dd4d48cd79a58] which was a fix for ticket [3182d3879020ef3b].
    
  2. login: "drh"
  3. mimetype: "text/x-fossil-wiki"
  4. severity changed to: "Important"
  5. status changed to: "Open"
  6. title changed to:
    Valgrind warning if PK has more columns than the table.
    
  7. type changed to: "Code_Defect"