mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-11-29 05:49:03 +08:00
Merge branch 'master' into filer1_maintenance_branch
This commit is contained in:
commit
c5a63f4775
@ -198,7 +198,7 @@ CREATE TABLE IF NOT EXISTS %s (
|
||||
func (s *MySqlStore) createTables(db *sql.DB, tableName string, postfix int) error {
|
||||
var realTableName string
|
||||
if s.isSharding {
|
||||
realTableName = fmt.Sprintf("%s_%4d", tableName, postfix)
|
||||
realTableName = fmt.Sprintf("%s_%04d", tableName, postfix)
|
||||
} else {
|
||||
realTableName = tableName
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user