Skip to content

Conversation

tbg
Copy link
Member

@tbg tbg commented Jul 25, 2015

another one for go-fuzz @dvyukov

@tbg tbg added the PTAL label Jul 25, 2015
@tamird
Copy link
Contributor

tamird commented Jul 25, 2015

LGTM

tbg added a commit that referenced this pull request Jul 25, 2015
fix panic when dealing with empty sql ident
@tbg tbg merged commit 408b4c3 into cockroachdb:master Jul 25, 2015
@tbg tbg deleted the ident_panic branch July 25, 2015 14:23
@tbg tbg removed the PTAL label Jul 25, 2015
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

VALUES is actually considered a type of "select statement". I don't know if this is ANSI SQL, but postgres allows it:

pmattis=# VALUES (1, 2);
 column1 | column2
---------+---------
       1 |       2
(1 row)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah, good to know. I'll update the comments in a future commit.

@petermattis
Copy link
Collaborator

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants