补充数据库迁移建库权限预检并准确提示权限不足

This commit is contained in:
xuans committed 2026-10-04 03:34:42 +08:00
1 parent de3872217f
commit c6c1516ae2
7 files changed
+185 -4

No files matched your search

@@ -119,6 +119,7 @@ func TestMigrationErrorCodeMapsExecutorFailures(t *testing.T) {
{err: ErrSQLTargetExists, code: "TARGET_EXISTS"},
{err: ErrSQLCopyUnavailable, code: "COPIER_UNAVAILABLE"},
{err: ErrSQLConnectionUnavailable, code: "CONNECTION_UNAVAILABLE"},
{err: ErrSQLPermissionDenied, code: "PERMISSION_DENIED"},
{err: ErrSQLUnsupportedObject, code: "UNSUPPORTED_OBJECT"},
{err: ErrSQLDataVerification, code: "DATA_VERIFICATION_FAILED"},
{err: ErrSQLSourceBusy, code: "SOURCE_BUSY"},