mirror of
https://github.com/dolthub/dolt.git
synced 2026-02-05 02:59:44 -06:00
feature gates keyless sql diff
This commit is contained in:
@@ -354,6 +354,17 @@ func diffUserTables(ctx context.Context, fromRoot, toRoot *doltdb.RootValue, dAr
|
||||
|
||||
for _, td := range tableDeltas {
|
||||
|
||||
if dArgs.diffOutput == SQLDiffOutput {
|
||||
ok, err := td.IsKeyless(ctx)
|
||||
if err != nil {
|
||||
return errhand.VerboseErrorFromError(err)
|
||||
}
|
||||
if ok {
|
||||
// todo: implement keyless SQL diff
|
||||
continue
|
||||
}
|
||||
}
|
||||
|
||||
if !dArgs.tableSet.Contains(td.FromName) && !dArgs.tableSet.Contains(td.ToName) {
|
||||
continue
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user