mirror of
https://github.com/dolthub/dolt.git
synced 2025-12-21 11:59:41 -06:00
rm extra func and add local file sys flag
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user