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
Fix SET statements to return OkResult instead of empty rows
SET statements (system variables, user variables, and transaction settings)
now return MySQL-compatible OkResult instead of empty rows, enabling proper
"Query OK, 0 rows affected" confirmation messages in SQL clients.
Changes:
- Modified buildSet function in sql/rowexec/rel.go to return OkResult for
system and user variable assignments
- Updated all affected tests to expect types.NewOkResult(0) instead of
empty row results
- Preserves setup script behavior while fixing assertion expectations
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>
0 commit comments