This commit is contained in:
shoopea 2019-12-29 20:40:16 +08:00
parent fcfdcdcacb
commit 15f741f5f5

View File

@ -42,7 +42,7 @@ func resetMsgParsingRules2() error {
}
stmt, err := db.Prepare(`INSERT INTO msg_rules (prio, msg_type_id, descn, rule)
VALUES (?, ?, ?, ?);`)
VALUES (?, ?, ?, ?);`)
logOnError(err, "resetMsgParsingRules2 : prepare statement")
if err != nil {
return err
@ -53,6 +53,8 @@ func resetMsgParsingRules2() error {
logOnError(err, "resetMsgParsingRules2 : insert statement "+r.Description)
if err != nil {
return err
} else {
log.Printf("Inserting : %d : %s => %s (%d)\n", r.Priority, r.Description, r.MsgType, r.MsgTypeID64)
}
}