Skip to content

fix: correct CockroachDB supportsSchemaEditing test, drop unused loggers#1263

Merged
datlechin merged 1 commit into
mainfrom
refactor/cockroachdb-review-fixes
May 14, 2026
Merged

fix: correct CockroachDB supportsSchemaEditing test, drop unused loggers#1263
datlechin merged 1 commit into
mainfrom
refactor/cockroachdb-review-fixes

Conversation

@datlechin

Copy link
Copy Markdown
Member

Summary

Follow-up to #1262 (CockroachDB support). PR #1262 merged before this review-feedback commit could land, so main currently carries two issues this PR fixes:

  • Failing test. DatabaseTypeCockroachDBTests.supportsSchemaEditing() asserts == true, but DatabaseType.cockroachdb.supportsSchemaEditing is false (CockroachDB ships with no driver-side DDL generators, matching Redshift). The assertion is corrected to == false.
  • Dead code. Unused Logger instances in LibPQDriverCore and CockroachPluginDriver, plus their now-unused import os.

Tests

swiftlint --strict clean. CockroachDB test suites pass, including supportsSchemaEditing().

@datlechin datlechin merged commit 02d3719 into main May 14, 2026
2 checks passed
@datlechin datlechin deleted the refactor/cockroachdb-review-fixes branch May 14, 2026 06:05
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