Skip to content

v1.4.2 — Fix get_smart_scripts LIMIT binding

Choose a tag to compare

@timoinglin timoinglin released this 18 Jul 09:09

mysql2's prepared-statement protocol rejects numeric placeholders for LIMIT on some MySQL server versions (MySQL 8.x in this case) with the error Incorrect arguments to mysqld_stmt_execute. Inlined the limit value (already validated by zod min(1).max(500)) instead of binding it.

Spotted on EmuCoach MoP Premium 7.1's MySQL 8.x server during smoke testing of v1.4.1.

Upgrade

cd wow-server-mcp
git pull && npm install && npm run build

Restart your AI client.