tidb icon indicating copy to clipboard operation
tidb copied to clipboard

expression: fix incorrect result when the result of casting const value to duration type is null

Open xzhangxian1008 opened this issue 6 months ago • 12 comments

What problem does this PR solve?

Issue Number: close #51842

Problem Summary:

What changed and how does it work?

Check List

Tests

  • [ ] Unit test
  • [x] Integration test
  • [ ] Manual test (add detailed scripts or steps below)
  • [ ] No need to test
    • [ ] I checked and no code files have been changed.

Side effects

  • [ ] Performance regression: Consumes more CPU
  • [ ] Performance regression: Consumes more Memory
  • [ ] Breaking backward compatibility

Documentation

  • [ ] Affects user behaviors
  • [ ] Contains syntax changes
  • [ ] Contains variable changes
  • [ ] Contains experimental features
  • [ ] Changes MySQL compatibility

Release note

Please refer to Release Notes Language Style Guide to write a quality release note.

fix incorrect result when the result of casting const value to duration type is null

xzhangxian1008 avatar Aug 16 '24 02:08 xzhangxian1008