v2.1.0 — Fix setSchema StackOverflow
What's new
Bug fix
Fix StackOverflowError when calling setSchema() or executing USE SCHEMA — the driver entered infinite recursion:
setSchema("in.c-main")
→ execute("USE SCHEMA \"in.c-main\"")
→ interceptUseCommand() detects USE SCHEMA
→ setSchema("in.c-main")
→ execute("USE SCHEMA ...") → ... StackOverflow
Fixed by introducing updateLocalSchema() which only updates the local field without executing SQL. interceptUseCommand() now uses this method.