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

fix(tianmu): add the TIME_to_ulonglong_time_round logic, and fix up precision loss problem and value overflow problem (#1173) #1894

Closed

Conversation

Xinqiangxu
Copy link
Collaborator

@Xinqiangxu Xinqiangxu commented Jun 17, 2023

Summary about this PR

Issue Number: close #1173

Tests Check List

  • Unit test
  • Integration test
  • Manual test (add detailed scripts or steps below)
  • No code

Changelog

  • New Feature
  • Bug Fix
  • Performance Improvement
  • Build/Testing/CI/CD
  • Documentation
  • Not for changelog (changelog entry is not required)

Documentation

  • Affects user behaviors
  • Contains syntax changes
  • Contains variable changes
  • Contains experimental features

…recision loss problem and value overflow problem (stoneatom#1173)

When converting TIME or DATETIME to ulonglong numeric, the tianmu engine has not the
TIME_to_ulonglong_time_round logic.Which causes the results different from innodb.Furthermore,
i found another bug during processing the issue.When we close the tianmu_insert_delayed parameter,
the TIME or DATETIME or TIMESTAMP type's data will loss precision when executing insert sql.

PR Close stoneatom#1173
@Xinqiangxu Xinqiangxu self-assigned this Jun 17, 2023
@Xinqiangxu Xinqiangxu changed the title fix(tianmu): add the TIME_to_ulonglong_time_round logic, and fix up precision loss problem and value overflow problem (#1173)) fix(tianmu): add the TIME_to_ulonglong_time_round logic, and fix up precision loss problem and value overflow problem (#1173) Jun 17, 2023
@mergify
Copy link
Contributor

mergify bot commented Jun 17, 2023

Thanks for the contribution!
I have applied any labels matching special text in your PR Changelog.

Please review the labels and make any necessary changes.

@mergify mergify bot added the PR-bug bug for pull request label Jun 17, 2023
@Xinqiangxu Xinqiangxu closed this Jun 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR-bug bug for pull request
Projects
Development

Successfully merging this pull request may close these issues.

bug: Bit Operators and Functions problems
1 participant