Skip to content

Commit

Permalink
add extra space
Browse files Browse the repository at this point in the history
  • Loading branch information
zhexuany committed Sep 13, 2018
1 parent e4418cf commit 44996c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion session/bootstrap.go
Original file line number Diff line number Diff line change
Expand Up @@ -658,7 +658,7 @@ func upgradeToVer23(s Session) {
doReentrantDDL(s, "ALTER TABLE mysql.stats_histograms ADD COLUMN `flag` bigint(64) NOT NULL DEFAULT 0", infoschema.ErrColumnExists)
}

//writeSystemTZ writes system timezone info into mysql.tidb
// writeSystemTZ writes system timezone info into mysql.tidb
func writeSystemTZ(s Session) {
sql := fmt.Sprintf(`INSERT HIGH_PRIORITY INTO %s.%s VALUES ("%s", "%s", "TiDB Global System Timezone.") ON DUPLICATE KEY UPDATE VARIABLE_VALUE="%s"`,
mysql.SystemDB, mysql.TiDBTable, tidbSystemTZ, timeutil.InferSystemTZ(), timeutil.InferSystemTZ())
Expand Down

0 comments on commit 44996c2

Please sign in to comment.