C++语言创建规则集脚本
INSERT INTO cp_ruleset (ruleset_id, ruleset_name, ruleset_order, ruleset_desc, compiler_code) VALUES (51230, ‘C++_NIX_rule‘, 0, ‘包括内存泄漏7种,质量规则39种,安全规则28种‘, 5123); SELECT * FROM CP_RULESET_RULE_MAP WHERE ruleset_id = ‘5121‘ ; INSERT INTO CP_RULESET_RULE_MAP (ruleset_id, rule_id) VALUES (51230, 4) ; INSERT INTO CP_RULESET_RULE_MAP (ruleset_id, rule_id) VALUES (51230, 12) ; INSERT INTO CP_RULESET_RULE_MAP (ruleset_id, rule_id) VALUES (51230, 37) ; INSERT INTO CP_RULESET_RULE_MAP (ruleset_id, rule_id) VALUES (51230, 39) ; INSERT INTO CP_RULESET_RULE_MAP (ruleset_id, rule_id) VALUES (51230, 47) ; INSERT INTO CP_RULESET_RULE_MAP (ruleset_id, rule_id) VALUES (51230, 48) ; INSERT INTO CP_RULESET_RULE_MAP (ruleset_id, rule_id) VALUES (51230, 4281) ; INSERT INTO CP_RULESET_RULE_MAP (ruleset_id, rule_id) VALUES (51230, 10003) ; INSERT INTO CP_RULESET_RULE_MAP (ruleset_id, rule_id) VALUES (51230, 10005) ; INSERT INTO CP_RULESET_RULE_MAP (ruleset_id, rule_id) VALUES (51230, 11918) ; INSERT INTO CP_RULESET_RULE_MAP (ruleset_id, rule_id) VALUES (51230, 11920) ; INSERT INTO CP_RULESET_RULE_MAP (ruleset_id, rule_id) VALUES (51230, 11921) ; INSERT INTO CP_RULESET_RULE_MAP (ruleset_id, rule_id) VALUES (51230, 11923) ; INSERT INTO CP_RULESET_RULE_MAP (ruleset_id, rule_id) VALUES (51230, 11924) ; INSERT INTO CP_RULESET_RULE_MAP (ruleset_id, rule_id) VALUES (51230, 11927) ; INSERT INTO CP_RULESET_RULE_MAP (ruleset_id, rule_id) VALUES (51230, 11929) ; INSERT INTO CP_RULESET_RULE_MAP (ruleset_id, rule_id) VALUES (51230, 11932) ; INSERT INTO CP_RULESET_RULE_MAP (ruleset_id, rule_id) VALUES (51230, 11943) ; INSERT INTO CP_RULESET_RULE_MAP (ruleset_id, rule_id) VALUES (51230, 11944) ; INSERT INTO CP_RULESET_RULE_MAP (ruleset_id, rule_id) VALUES (51230, 11945) ; INSERT INTO CP_RULESET_RULE_MAP (ruleset_id, rule_id) VALUES (51230, 11948) ; INSERT INTO CP_RULESET_RULE_MAP (ruleset_id, rule_id) VALUES (51230, 11949) ; INSERT INTO CP_RULESET_RULE_MAP (ruleset_id, rule_id) VALUES (51230, 11951) ; INSERT INTO CP_RULESET_RULE_MAP (ruleset_id, rule_id) VALUES (51230, 11952) ; INSERT INTO CP_RULESET_RULE_MAP (ruleset_id, rule_id) VALUES (51230, 11954) ; INSERT INTO CP_RULESET_RULE_MAP (ruleset_id, rule_id) VALUES (51230, 11955) ; INSERT INTO CP_RULESET_RULE_MAP (ruleset_id, rule_id) VALUES (51230, 11956) ; INSERT INTO CP_RULESET_RULE_MAP (ruleset_id, rule_id) VALUES (51230, 11957) ; INSERT INTO CP_RULESET_RULE_MAP (ruleset_id, rule_id) VALUES (51230, 11958) ; INSERT INTO CP_RULESET_RULE_MAP (ruleset_id, rule_id) VALUES (51230, 11959) ; INSERT INTO CP_RULESET_RULE_MAP (ruleset_id, rule_id) VALUES (51230, 11960) ; INSERT INTO CP_RULESET_RULE_MAP (ruleset_id, rule_id) VALUES (51230, 11961) ; INSERT INTO CP_RULESET_RULE_MAP (ruleset_id, rule_id) VALUES (51230, 11962) ; INSERT INTO CP_RULESET_RULE_MAP (ruleset_id, rule_id) VALUES (51230, 11963) ; INSERT INTO CP_RULESET_RULE_MAP (ruleset_id, rule_id) VALUES (51230, 11964) ; INSERT INTO CP_RULESET_RULE_MAP (ruleset_id, rule_id) VALUES (51230, 11965) ; INSERT INTO CP_RULESET_RULE_MAP (ruleset_id, rule_id) VALUES (51230, 11966) ; INSERT INTO CP_RULESET_RULE_MAP (ruleset_id, rule_id) VALUES (51230, 11967) ; INSERT INTO CP_RULESET_RULE_MAP (ruleset_id, rule_id) VALUES (51230, 11968) ; INSERT INTO CP_RULESET_RULE_MAP (ruleset_id, rule_id) VALUES (51230, 51230023) ; INSERT INTO CP_RULESET_RULE_MAP (ruleset_id, rule_id) VALUES (51230, 51230036) ; INSERT INTO CP_RULESET_RULE_MAP (ruleset_id, rule_id) VALUES (51230, 51230078) ; INSERT INTO CP_RULESET_RULE_MAP (ruleset_id, rule_id) VALUES (51230, 51230080) ; INSERT INTO CP_RULESET_RULE_MAP (ruleset_id, rule_id) VALUES (51230, 51230089) ; INSERT INTO CP_RULESET_RULE_MAP (ruleset_id, rule_id) VALUES (51230, 51230090) ; INSERT INTO CP_RULESET_RULE_MAP (ruleset_id, rule_id) VALUES (51230, 51230099) ; INSERT INTO CP_RULESET_RULE_MAP (ruleset_id, rule_id) VALUES (51230, 51230190) ; INSERT INTO CP_RULESET_RULE_MAP (ruleset_id, rule_id) VALUES (51230, 51230209) ; INSERT INTO CP_RULESET_RULE_MAP (ruleset_id, rule_id) VALUES (51230, 51230247) ; INSERT INTO CP_RULESET_RULE_MAP (ruleset_id, rule_id) VALUES (51230, 51230256) ; INSERT INTO CP_RULESET_RULE_MAP (ruleset_id, rule_id) VALUES (51230, 51230259) ; INSERT INTO CP_RULESET_RULE_MAP (ruleset_id, rule_id) VALUES (51230, 51230285) ; INSERT INTO CP_RULESET_RULE_MAP (ruleset_id, rule_id) VALUES (51230, 51230321) ; INSERT INTO CP_RULESET_RULE_MAP (ruleset_id, rule_id) VALUES (51230, 51230327) ; INSERT INTO CP_RULESET_RULE_MAP (ruleset_id, rule_id) VALUES (51230, 51230330) ; INSERT INTO CP_RULESET_RULE_MAP (ruleset_id, rule_id) VALUES (51230, 51230367) ; INSERT INTO CP_RULESET_RULE_MAP (ruleset_id, rule_id) VALUES (51230, 51230390) ; INSERT INTO CP_RULESET_RULE_MAP (ruleset_id, rule_id) VALUES (51230, 51230404) ; INSERT INTO CP_RULESET_RULE_MAP (ruleset_id, rule_id) VALUES (51230, 51230434) ; INSERT INTO CP_RULESET_RULE_MAP (ruleset_id, rule_id) VALUES (51230, 51230489) ; INSERT INTO CP_RULESET_RULE_MAP (ruleset_id, rule_id) VALUES (51230, 51230497) ; INSERT INTO CP_RULESET_RULE_MAP (ruleset_id, rule_id) VALUES (51230, 51230674) ; INSERT INTO CP_RULESET_RULE_MAP (ruleset_id, rule_id) VALUES (51230, 51230732) ; INSERT INTO CP_RULESET_RULE_MAP (ruleset_id, rule_id) VALUES (51230, 51230759) ; INSERT INTO CP_RULESET_RULE_MAP (ruleset_id, rule_id) VALUES (51230, 51230807) ; INSERT INTO CP_RULESET_RULE_MAP (ruleset_id, rule_id) VALUES (51230, 51239302) ; INSERT INTO CP_RULESET_RULE_MAP (ruleset_id, rule_id) VALUES (51230, 51239310) ;
郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。