Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

plan: default expression bug (#4054) #4081

Closed
wants to merge 1 commit into from
Closed

Conversation

jackysp
Copy link
Member

@jackysp jackysp commented Aug 8, 2017

@jackysp jackysp added the rc3.1 label Aug 8, 2017
tk.MustExec(`drop table if exists t1`)
tk.MustExec(`create table t1(str varchar(10) default 'def',strnull varchar(10),intg int default '10',rel double default '3.14');`)
tk.MustExec(`insert into t1 () values ();`)
rs := tk.MustQuery(`select default(str), default(strnull), default(intg), default(rel) from t1;`)
Copy link
Contributor

Choose a reason for hiding this comment

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

what happens if the table row is not default value?

@jackysp jackysp closed this Aug 8, 2017
@jackysp jackysp deleted the yusp/issue4054 branch October 18, 2017 07:39
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.

2 participants