This commit is contained in:
shoopea 2019-05-08 18:37:53 +08:00
parent 14554a659c
commit 74476a2cfb

2
sql.go
View File

@ -290,7 +290,7 @@ func loadMsgParsingRules() (map[int]MessageParsingRule, error) {
m := make(map[int]MessageParsingRule)
count := int(0)
rules, err := db.Query(`SELECT r.id, r.prio, r.descn, r.rule, r.msg_type_id FROM msg_rule r ORDER BY r.prio DESC;`)
rules, err := db.Query(`SELECT r.id, r.prio, r.descn, r.rule, r.msg_type_id FROM msg_rules r ORDER BY r.prio DESC;`)
if err != nil {
return m, err
}