We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
select * from t as of timestamp NULL
Please answer these questions before submitting your issue. Thanks!
create table t(a int); select * from t as of timestamp NULL;
Error, but connection should not disconnect
The connection disconnected and have an internal error:
mysql> select * from t as of timestamp NULL; ERROR 1105 (HY000): interface conversion: interface {} is nil, not types.Time
master
mysql> select tidb_version(); +----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | tidb_version() | +----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | Release Version: v6.0.0-alpha Edition: Community Git Commit Hash: 9fcc6b090b02c8351aba4ee8a7f072e0e0c840e0 Git Branch: heads/refs/tags/v6.0.0-alpha UTC Build Time: 2022-03-13 14:52:09 GoVersion: go1.16.4 Race Enabled: false TiKV Min Version: v3.0.0-60965b006877ca7234adaced7890d7b029ed1306 Check Table Before Drop: false | +----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ 1 row in set (0.01 sec)
The text was updated successfully, but these errors were encountered:
planner: forbid NULL as of value in stale read (#33729)
164261c
close #33728
Successfully merging a pull request may close this issue.
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
2. What did you expect to see? (Required)
Error, but connection should not disconnect
3. What did you see instead (Required)
The connection disconnected and have an internal error:
4. What is your TiDB version? (Required)
master
The text was updated successfully, but these errors were encountered: