rm extra func and add local file sys flag

This commit is contained in:
elianddb
2025-12-01 20:00:36 -08:00
parent aceb329a05
commit 52e5598b76
2 changed files with 1 additions and 7 deletions

View File

@@ -65,13 +65,6 @@ func doltBackup(ctx *sql.Context, args ...string) (sql.RowIter, error) {
return nil, err
}
if sqlserver.RunningInServerMode() {
privileges, counter := ctx.GetPrivilegeSet()
if counter == 0 || !privileges.Has(sql.PrivilegeType_Super) {
return nil, sql.ErrPrivilegeCheckFailed.New(ctx.Session.Client().User)
}
}
apr, err := cli.CreateBackupArgParser().Parse(args)
if err != nil {
return nil, err

View File

@@ -2205,6 +2205,7 @@ func TestBranchActivity(t *testing.T) {
// TestDriverExecution verifies that queries work in dolt driver, where the MySQLDb is not initialized.
func TestDriverExecution(t *testing.T) {
h := newDoltHarness(t)
h.UseLocalFileSystem()
defer h.Close()
engine, err := h.NewEngine(t)