Repository navigation
fix(plan): add POW alias to functionIdRegister - #24778
mergify[bot] merged 4 commits into
Conversation
Qodo reviews are paused for this user.Troubleshooting steps vary by plan Learn more → On a Teams plan? Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center? |
aunjgr
left a comment
There was a problem hiding this comment.
One-line fix — "pow": POW was missing from functionIdRegister while the POW = 149 constant and Power() execution function already existed. Unit test confirms getFunctionIdByName("pow") resolves; BVT covers uppercase/lowercase/float. LGTM.
XuPeng-SH
left a comment
There was a problem hiding this comment.
Re-checked the current head. The fix is still a narrow one-line registration change, and the added direct lookup unit test plus SQL-level POW coverage are enough for the actual risk here. I do not see a remaining correctness issue that should keep this blocked.
|
Queued — the merge queue status continues in this comment ↓. |
Merge Queue Status
This pull request spent 35 minutes 9 seconds in the queue, with no time running CI. Waiting for
All conditions
ReasonThe merge conditions cannot be satisfied due to failing checks Failing checks:
HintYou may have to fix your CI before adding the pull request to the queue again. Requeued — the merge queue status continues in this comment ↓. |
Merge Queue Status
This pull request spent 1 hour 1 minute 3 seconds in the queue, including 1 hour 47 seconds running CI. Required conditions to merge
|
What type of PR is this?
Which issue(s) this PR fixes:
issue #24439
What this PR does / why we need it:
The
POW(x, y)MySQL alias forPOWER(x, y)was not recognized on 3.0-dev because the string"pow"was missing from thefunctionIdRegistermap infunction_id.go. The constantPOW = 149and thePower()execution function already existed — only the lookup registration was missing. This one-line fix adds"pow": POWto the register, making the function accessible through thePOW()name. A unit test validates the register lookup, and BVT test cases cover uppercase/lowercase/float POW calls.