Commit e802d322 authored by cznic's avatar cznic

Add bug reproduction case. Updates #187.

parent ba9eea98
// CAUTION: Generated file - DO NOT EDIT.
// Code generated by goyacc - DO NOT EDIT.
// Copyright (c) 2014 The ql Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
......@@ -1761,6 +1761,7 @@ yystack:
yynewstate:
if yychar < 0 {
yylval.yys = yystate
yychar = yylex1(yylex, &yylval)
var ok bool
if yyxchar, ok = yyXLAT[yychar]; !ok {
......
......@@ -3,7 +3,7 @@
//TODO Put your favorite license here
// yacc source generated by ebnf2y[1]
// at 2017-05-22 14:22:16.694201976 +0200 CEST
// at 2017-08-31 17:43:07.227157474 +0200 CEST m=+0.001846399
//
// $ ebnf2y -o ql.y -oe ql.ebnf -start StatementList -pkg ql -p _
//
......
// CAUTION: Generated file - DO NOT EDIT.
// Code generated by golex. DO NOT EDIT.
// Copyright (c) 2014 The ql Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
......
......@@ -15754,3 +15754,12 @@ SELECT * FROM t ORDER BY á
[1]
[2]
[3]
-- 1355 // https://github.com/cznic/ql/issues/187
BEGIN TRANSACTION;
CREATE TABLE t (b string, c string);
ALTER TABLE t DROP COLUMN b;
CREATE INDEX d ON t (c);
COMMIT;
SELECT * FROM t;
|"c"
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