Revision 9b9cfb3c15caf47232d34db7bad5796f14450dc4

Committed on 14/12/2025 2:11 pm by Zohaib Sibte Hassan <zohaib@sibte.pk> [GitHub Diff]

Fix code review issues: error handling and hot path optimization

- Return error instead of panic in convertStatementsToProto for unknown types
- Guard debug logs in sendChangeEvent with Enabled() check to avoid
string formatting overhead in streaming hot path
- Fix readLengthEncodedInt to return (0,0) on truncated buffer for
consistent failure signaling

???? Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>