Skip to content

Fixed timezone test not to be dependent on the millisecond executed. #600

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

Merged
merged 1 commit into from
Oct 1, 2013

Conversation

nanek
Copy link
Contributor

@nanek nanek commented Oct 1, 2013

Timezone test would fail if the current millisecond value was 500 or over as MySQL would round up to the next second and then the assertion checking the time at a second precision would fail. As noted in the comment, datetime in MySQL does not store millisecond values, unless datetime(6) is used and MySQL version is greater than 5.6.4.

Also added node 0.10 to travis-ci.

felixge added a commit that referenced this pull request Oct 1, 2013
Fixed timezone test not to be dependent on the millisecond executed.
@felixge felixge merged commit 9c7d827 into mysqljs:master Oct 1, 2013
@felixge
Copy link
Collaborator

felixge commented Oct 1, 2013

@nanek fantastic, thx you so much for the patch.

dveeden pushed a commit to dveeden/mysql that referenced this pull request Jan 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants