Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Adding test case for issue cznic#188
  • Loading branch information
dbrower committed Sep 3, 2017
1 parent 176d53f commit e5395f6
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions testdata.ql
Expand Up @@ -15763,3 +15763,15 @@ BEGIN TRANSACTION;
COMMIT;
SELECT * FROM t;
|"c"

-- 1356 // https://github.com/cznic/ql/issues/188
BEGIN TRANSACTION;
CREATE TABLE t (b string, c string);
CREATE INDEX bx ON t (b);
ALTER TABLE t DROP COLUMN b;
CREATE INDEX cx ON t (c);
INSERT INTO t (c) VALUES ("abc");
COMMIT;
SELECT c FROM t WHERE c = "abc";
|"c"
[abc]

0 comments on commit e5395f6

Please sign in to comment.