You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue caused by MySQL version 8.0.22 and above (currently using 8.0.27). Whenever a query has a LIMIT ? there is the error "Incorrect arguments to mysqld_stmt_execute".
This issue has a fix that you can find here sidorares/node-mysql2#1239 (comment).
Basically, every time there is a LIMIT ? with a number as value there will be the error. Having it passed as a string fixes it. (Same issue for the OFFSET ?)
Development Issue
No
Phone Version
1.2.1
Issue Description
Issue caused by MySQL version 8.0.22 and above (currently using 8.0.27). Whenever a query has a
LIMIT ?
there is the error "Incorrect arguments to mysqld_stmt_execute".This issue has a fix that you can find here sidorares/node-mysql2#1239 (comment).
Basically, every time there is a
LIMIT ?
with a number as value there will be the error. Having it passed as a string fixes it. (Same issue for theOFFSET ?
)So for example here :
npwd/resources/server/messages/messages.db.ts
Lines 44 to 48 in 165c90e
Having this would fix the error :
Issue Reproduction
And the server console should show these :
The text was updated successfully, but these errors were encountered: