Skip to content

Commit

Permalink
fix wrong var
Browse files Browse the repository at this point in the history
  • Loading branch information
khaiql committed Nov 25, 2017
1 parent 1610741 commit 42b48b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engine/mysql.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,5 @@ func (mysql *MySQL) Truncate(table string) error {
}

func (mysql *MySQL) Close() error {
return m.db.Close()
return mysql.db.Close()
}

0 comments on commit 42b48b6

Please sign in to comment.