// KEY.002 func TestRuleNoOSCKey(t *testing.T) { common.Log.Debug("Entering function: %s", common.GetFunctionName()) 8 changes: 8 additions & 0 deletions 8 advisor/rules.go Original file line numberDiff line numberDiff line change @@ -553,6 +553,14 @@ func init() { Case: "...
`MyData` varchar(10) NOT NULL , `CreationDate` datetime NULL , `UpdateDate` datetime NULL , PRIMARY KEY (`MyTable_ID`) ) ; CREATE TRIGGER `MyTable_INSERT` BEFORE INSERT ON `MyTable` FOR EACH ROW BEGIN -- Set the creation date SET new.CreationDate = now(); -- Set the udpate...