Skip to content

Commit

Permalink
use CREATE DATABASE IF NOT EXISTS (#30)
Browse files Browse the repository at this point in the history
* create database if not exists
  • Loading branch information
mahjonp committed Mar 17, 2020
1 parent 77b92e2 commit 9925b49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/go-tpc/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ var (

const (
unknownDB = "Unknown database"
createDBDDL = "CREATE DATABASE "
createDBDDL = "CREATE DATABASE IF NOT EXISTS "
mysqlDriver = "mysql"
)

Expand Down

0 comments on commit 9925b49

Please sign in to comment.