MT#62075 fix STORE_SQL_FMT_CAT sql callid column name

* STORE_SQL_FMT_CAT def uses "callid" in the statement but the
  actual column name is "call_id".

Change-Id: I1eb3c65b6b7b112d49b88c03c4d792433aaf1ecf
master
Kirill Solomko 2 months ago
parent 9dded032bc
commit c2726bdc03

@ -77,12 +77,12 @@ index 801b682..4ec7b83 100644
#define STORE_SQL_FMT_CAT "INSERT INTO %s (dir, msgnum, recording, context, callerid, " \
- "origtime, duration, mailboxuser, mailboxcontext, flag, msg_id, category) " \
- "VALUES (?,?,?,?,?,?,?,?,?,?,?,?)"
+ "origtime, duration, mailboxuser, mailboxcontext, flag, msg_id, callid, category) " \
+ "origtime, duration, mailboxuser, mailboxcontext, flag, msg_id, call_id, category) " \
+ "VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?)"
#define STORE_SQL_FMT "INSERT INTO %s (dir, msgnum, recording, context, callerid, "\
- "origtime, duration, mailboxuser, mailboxcontext, flag, msg_id) "\
- "VALUES (?,?,?,?,?,?,?,?,?,?,?)"
+ "origtime, duration, mailboxuser, mailboxcontext, flag, msg_id, callid) "\
+ "origtime, duration, mailboxuser, mailboxcontext, flag, msg_id, call_id) "\
+ "VALUES (?,?,?,?,?,?,?,?,?,?,?,?)"
static SQLHSTMT odbc_insert_data_cb(struct odbc_obj *obj, void *vdata)

Loading…
Cancel
Save