修改编码问题
This commit is contained in:
parent
0630e124f5
commit
525b6355b0
@ -47,9 +47,9 @@ def _importGlobalRedis():
|
||||
def _importGameDBAndRedis(server_id):
|
||||
conf = _utils.getGameConf(server_id)
|
||||
_utils.importMysql(conf, 'legend_' + str(server_id), 'legend_%d.sql' % (server_id),
|
||||
_utils.CHAR_SET_LATIN1)
|
||||
_utils.CHAR_SET_UTF8MB4)
|
||||
_utils.importMysql(conf, 'logger_' + str(server_id), 'logger_%d.sql' % (server_id),
|
||||
_utils.CHAR_SET_LATIN1,
|
||||
_utils.CHAR_SET_UTF8MB4,
|
||||
True)
|
||||
if server_id < 50:
|
||||
_utils.importRedis(conf, 'game redis', 'dump_%d.rdb' % (6800 + server_id))
|
||||
|
Loading…
x
Reference in New Issue
Block a user