/ Check-in [4165fae9]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Add another test case (found by OSSFuzz) for the problem fixed in check-in [2846458a] and described by ticket [dc3f932f5a147771]. No changes to code.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 4165fae920a1176c68bfaa1f2cfe17df7f8dd8793519d458b71e3e63670b5495
User & Date: drh 2018-01-03 01:47:30
Context
2018-01-04
16:40
Fix a broken documentation hyperlink. No code changes. check-in: d91e3f3d user: drh tags: trunk
2018-01-03
01:47
Add another test case (found by OSSFuzz) for the problem fixed in check-in [2846458a] and described by ticket [dc3f932f5a147771]. No changes to code. check-in: 4165fae9 user: drh tags: trunk
2018-01-02
21:29
Fix code indentation. No logic changes. check-in: e115f258 user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to test/indexexpr1.test.

   408    408   do_execsql_test indexexpr1-1500 {
   409    409     CREATE TABLE t1500(a INT PRIMARY KEY, b INT UNIQUE);
   410    410     CREATE INDEX t1500ab ON t1500(a*b);
   411    411     INSERT INTO t1500(a,b) VALUES(1,2);
   412    412     REPLACE INTO t1500(a,b) VALUES(1,3);  -- formerly caused assertion fault
   413    413     SELECT * FROM t1500;
   414    414   } {1 3}
          415  +
          416  +# 2018-01-03 OSSFuzz discovers another test case for the same problem
          417  +# above.
          418  +#
          419  +do_execsql_test indexexpr-1510 {
          420  +  DROP TABLE IF EXISTS t1;
          421  +  CREATE TABLE t1(a PRIMARY KEY,b UNIQUE);
          422  +  REPLACE INTO t1 VALUES(2, 1);
          423  +  REPLACE INTO t1 SELECT 6,1;
          424  +  CREATE INDEX t1aa ON t1(a-a);
          425  +  REPLACE INTO t1 SELECT a, randomblob(a) FROM t1
          426  +} {}
   415    427   
   416    428   finish_test