bug: query result wrong: ALTER, DEFAULT
ZhengLin-Li opened this issue · comments
Zhenglin Li commented
Have you read the Contributing Guidelines on issues?
- I have read the Contributing Guidelines on issues.
Please confirm if bug report does NOT exists already ?
- I confirm there is no existing issue for this
Describe the problem
The query result does not meet expectation
StoneDB V1.0.4 Result
Expected behavior
MySQL 5.7 Result
How To Reproduce
CREATE TABLE t0(c0 INT) ;
INSERT INTO t0(c0) VALUES (DEFAULT);
ALTER TABLE t0 ADD COLUMN c1 INT DEFAULT 1;
SELECT * FROM t0;
Environment
Docker v1.0.4
Are you interested in submitting a PR to solve the problem?
- Yes, I will!