Skip to content

Commit

Permalink
Update gorage.go
Browse files Browse the repository at this point in the history
  • Loading branch information
ax4w committed Nov 20, 2023
1 parent 2f66408 commit 8320895
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions gorage.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,9 @@ func (g *Gorage) copyTable(name string) Table {
t := Table{
host: v.host,
p: v.p,
t: transaction{
q: v.t.q.n,
},
}
if v.t.q != nil && v.t.q.n != nil {
t.t.q = v.t.q.n
}
for _, c := range v.Columns {
t.Columns = append(t.Columns, c)
Expand Down

0 comments on commit 8320895

Please sign in to comment.