Ticket Hash: | fd3aec0c7e3e29988f40a40de3a87ed833e94cb3 | |||
Title: | Valgrind warning if PK has more columns than the table. | |||
Status: | Fixed | Type: | Code_Defect | |
Severity: | Important | Priority: | Immediate | |
Subsystem: | Unknown | Resolution: | Fixed | |
Last Modified: | 2019-07-17 13:10:33 | |||
Version Found In: | ||||
User Comments: | ||||
drh added on 2019-07-17 01:27:19:
(text/x-fossil-wiki)
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]. |