refactor: migrate sql增加超时时间。
This commit is contained in:
parent
c9ef324876
commit
4722fe2508
|
@ -92,3 +92,5 @@ update test_plan_api_case set `status` ='STOPPED' where `status` = 'STOP';
|
|||
update test_plan_api_case set `status` ='FAKE_ERROR' where `status` in ('errorReportResult','errorReport');
|
||||
-- 执行中
|
||||
update test_plan_api_case set `status` ='RUNNING' where `status` = 'Running';
|
||||
|
||||
SET SESSION innodb_lock_wait_timeout = DEFAULT;
|
|
@ -23,3 +23,5 @@ ALTER TABLE api_case_execution_info ADD INDEX idx_execute_type(execute_type);
|
|||
ALTER TABLE scenario_execution_info ADD INDEX idx_version ( version );
|
||||
ALTER TABLE scenario_execution_info ADD INDEX idx_project_id(project_id);
|
||||
ALTER TABLE scenario_execution_info ADD INDEX idx_execute_type(execute_type);
|
||||
|
||||
SET SESSION innodb_lock_wait_timeout = DEFAULT;
|
|
@ -13,3 +13,5 @@ INTO @a;
|
|||
PREPARE stmt1 FROM @a;
|
||||
EXECUTE stmt1;
|
||||
DEALLOCATE PREPARE stmt1;
|
||||
|
||||
SET SESSION innodb_lock_wait_timeout = DEFAULT;
|
Loading…
Reference in New Issue