提交 3d8ce9cf 编写于 作者: 羽飞's avatar 羽飞 提交者: wangzelin.wzl

fix mysql test trx_basic

上级 979383c3
...@@ -8132,18 +8132,8 @@ ...@@ -8132,18 +8132,8 @@
# #
## 31. check the _max_trx_size ## 31. check the _max_trx_size
#def check_max_trx_size_config(query_cur, cur): #def check_max_trx_size_config(query_cur, cur):
# (desc, results) = query_cur.exec_query( # set_parameter(cur, '_max_trx_size', '100G')
# """ # logging.info('set _max_trx_size to default value 100G')
# select distinct(value) from __all_sys_parameter where name like '_max_trx_size'
# """)
# if len(results) != 1:
# raise MyError("failed to get config of _max_trx_size")
#
# if results[0][0] == '100M':
# set_parameter(cur, '_max_trx_size', '100G')
# logging.info('set _max_trx_size to default value 100G')
# else:
# logging.info('leave _max_trx_size untouch ' + str(results[0][0]))
# #
## 开始升级前的检查 ## 开始升级前的检查
#def do_check(my_host, my_port, my_user, my_passwd, upgrade_params): #def do_check(my_host, my_port, my_user, my_passwd, upgrade_params):
......
...@@ -8132,18 +8132,8 @@ ...@@ -8132,18 +8132,8 @@
# #
## 31. check the _max_trx_size ## 31. check the _max_trx_size
#def check_max_trx_size_config(query_cur, cur): #def check_max_trx_size_config(query_cur, cur):
# (desc, results) = query_cur.exec_query( # set_parameter(cur, '_max_trx_size', '100G')
# """ # logging.info('set _max_trx_size to default value 100G')
# select distinct(value) from __all_sys_parameter where name like '_max_trx_size'
# """)
# if len(results) != 1:
# raise MyError("failed to get config of _max_trx_size")
#
# if results[0][0] == '100M':
# set_parameter(cur, '_max_trx_size', '100G')
# logging.info('set _max_trx_size to default value 100G')
# else:
# logging.info('leave _max_trx_size untouch ' + str(results[0][0]))
# #
## 开始升级前的检查 ## 开始升级前的检查
#def do_check(my_host, my_port, my_user, my_passwd, upgrade_params): #def do_check(my_host, my_port, my_user, my_passwd, upgrade_params):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册