Skip to content

Commit 4517c0a

Browse files
committed
There is no locking by default just a read transaction
1 parent fdb7b50 commit 4517c0a

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

mysqldump.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ func Register(db *sql.DB, dir, format string) (*Data, error) {
3939
return &Data{
4040
Out: f,
4141
Connection: db,
42-
LockTables: true,
4342
}, nil
4443
}
4544

@@ -48,7 +47,6 @@ func Dump(db *sql.DB, out io.Writer) error {
4847
return (&Data{
4948
Connection: db,
5049
Out: out,
51-
LockTables: true,
5250
}).Dump()
5351
}
5452

0 commit comments

Comments
 (0)