Commit e5395f6f authored by Don Brower's avatar Don Brower

Adding test case for issue #188

parent 176d53f8
......@@ -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]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment