We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c2d3691 commit b7c6484Copy full SHA for b7c6484
mysql.go
@@ -89,9 +89,6 @@ func (driver *Driver) Close() error {
89
func (driver *Driver) ensureVersionTableExists() error {
90
_, err := driver.db.Exec("CREATE TABLE IF NOT EXISTS " + tableName + " (version bigint not null primary key);")
91
92
- if _, isWarn := err.(mysql.MySQLWarnings); err != nil && !isWarn {
93
- return err
94
- }
95
r := driver.db.QueryRow("SELECT data_type FROM information_schema.columns where table_name = ? and column_name = 'version'", tableName)
96
dataType := ""
97
if err := r.Scan(&dataType); err != nil {
0 commit comments