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
use test; drop table if exists t1; CREATE TABLE `t1` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `datetime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, PRIMARY KEY (`id`) ); INSERT INTO `t1` VALUES (123381351,"2014-03-31 08:57:10"); select * from t1 where datetime='2014-03-31 08:57:10'; alter table t1 add key i_datetime (datetime); select * from t1 where datetime='2014-03-31 08:57:10'; select * from t1;
select * from t1 where datetime='2014-03-31 08:57:10'; should return result after adding index on datetime
select * from t1 where datetime='2014-03-31 08:57:10';
mysql> select * from t1 where datetime='2014-03-31 08:57:10'; Empty set (0.00 sec) mysql> select * from t1; +-----------+---------------------+ | id | datetime | +-----------+---------------------+ | 123381351 | 2014-03-31 08:57:10 | +-----------+---------------------+ 1 row in set (0.00 sec)
tidb-server -V
Git Commit Hash: fad6633 UTC Build Time: 2017-06-15 06:43:00
it is reproducible with patch in pr #3478, so it seems not related to issue #3467, so I opened a new one
The text was updated successfully, but these errors were encountered:
@darren Thanks! @tiancaiamao PTAL
Sorry, something went wrong.
No branches or pull requests
select * from t1 where datetime='2014-03-31 08:57:10';
should return result after adding index on datetimetidb-server -V
)?Git Commit Hash: fad6633
UTC Build Time: 2017-06-15 06:43:00
it is reproducible with patch in pr #3478, so it seems not related to issue #3467, so I opened a new one
The text was updated successfully, but these errors were encountered: