Skip to content

fix(catalog): consistent case handling and lock release during DDL refresh#26

Merged
lostmygithubaccount merged 1 commit into
mainfrom
cody/catalog-consistency
Apr 5, 2026
Merged

fix(catalog): consistent case handling and lock release during DDL refresh#26
lostmygithubaccount merged 1 commit into
mainfrom
cody/catalog-consistency

Conversation

@lostmygithubaccount
Copy link
Copy Markdown
Member

Summary

  • Lowercase table names returned by schema::list_tables() (reads from sqlite_master) to match extract_ddl_table_name() which already lowercases, fixing case mismatch between full refresh and incremental DDL refresh paths
  • Release the dbs read lock before calling refresh_for_ddl() in DbManager::execute() so concurrent queries aren't blocked during catalog updates

🤖 Generated with Claude Code

…fresh

Lowercase table names from sqlite_master in list_tables() to match
extract_ddl_table_name() which already lowercases. Drop the read lock
on dbs before calling refresh_for_ddl() so concurrent queries aren't
blocked during catalog updates.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@lostmygithubaccount lostmygithubaccount enabled auto-merge (squash) April 5, 2026 23:48
@lostmygithubaccount lostmygithubaccount merged commit cc95736 into main Apr 5, 2026
1 check passed
@lostmygithubaccount lostmygithubaccount deleted the cody/catalog-consistency branch April 5, 2026 23:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant