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

Add workaround for sql_mode NO_ZERO_DATE #9

Closed
wants to merge 1 commit into from
Closed

Add workaround for sql_mode NO_ZERO_DATE #9

wants to merge 1 commit into from

Conversation

ghost
Copy link

@ghost ghost commented Nov 23, 2020

The testsuite currently depends on zero dates. This works because NO_ZERO_DATE in TiDB does not actually work correctly until pingcap/tidb#20206 merges.

Because of the number of tests that break (see below), I suggest first disabling NO_ZERO_DATE (this PR) and then later trying to update the tests so that they will work correctly without using zero dates.

Expected count to be modified:

mysql_test$ grep -RF 0000-00 | wc -l
110

@ghost
Copy link
Author

ghost commented Nov 24, 2020

This is no longer required.

@ghost ghost closed this Nov 24, 2020
@ghost ghost deleted the sql-mode-fix branch November 24, 2020 00:56
This pull request was closed.
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.

0 participants