Skip to content
This repository has been archived by the owner on Jan 28, 2021. It is now read-only.

Add support for set DEFAULT #493

Merged
merged 1 commit into from
Oct 25, 2018
Merged

Add support for set DEFAULT #493

merged 1 commit into from
Oct 25, 2018

Conversation

kuba--
Copy link
Contributor

@kuba-- kuba-- commented Oct 23, 2018

Signed-off-by: kuba-- kuba@sourced.tech


// Eval implements the Expression interface.
func (*DefaultColumn) Eval(ctx *sql.Context, r sql.Row) (interface{}, error) {
panic("unresolved column is a placeholder node, but Eval was called")
Copy link
Contributor

Choose a reason for hiding this comment

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

copied error from UnresolvedColumn.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed typos + added more verbose comments

Signed-off-by: kuba-- <kuba@sourced.tech>
@ajnavarro ajnavarro merged commit 3365758 into src-d:master Oct 25, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants