Closed CookiePieWw closed 12 hours ago
[!IMPORTANT]
Review skipped
Auto reviews are disabled on this repository.
Please check the settings in the CodeRabbit UI or the
.coderabbit.yaml
file in this repository. To trigger a single review, invoke the@coderabbitai review
command.You can disable this status message by setting the
reviews.review_status
tofalse
in the CodeRabbit configuration file.
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Attention: Patch coverage is 69.86301%
with 22 lines
in your changes missing coverage. Please review.
Project coverage is 83.76%. Comparing base (
6a958e2
) to head (7ae2daf
). Report is 7 commits behind head on main.
🚨 Try these New Features:
I hereby agree to the terms of the GreptimeDB CLA.
Refer to a related PR or issue link (optional)
What's changed and what's your intention?
Refactor to simplify the
EXECUTE
stmt in mysql.Will introduce a change of error code returned: execute non-prepared stmt will now return an
ErrorKind::ER_WRONG_ARGUMENTS
instead ofErrorKind::ER_UNKNOWN_STMT_HANDLER
.Also fix a bug when the stmt is not properly prepared and we need to use raw query with param converted to strings. Previously the param of
Date
time will be converted to strings without quoteSELECT 2000-12-20
that is not valid for sql parser.Checklist