补充数据库迁移建库权限预检并准确提示权限不足
This commit is contained in:
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"},
|
||||
|
||||
Reference in new issue
Block a user