[Asterisk-code-review] cdr/cdr odbc: Added to record new columns add on CDR 1.8 Ast... (asterisk[master])

Matt Jordan asteriskteam at digium.com
Sun Apr 19 14:24:54 CDT 2015


Matt Jordan has posted comments on this change.

Change subject: cdr/cdr_odbc: Added to record new columns add on CDR 1.8 Asterisk Version
......................................................................


Patch Set 1:

(2 comments)

https://gerrit.asterisk.org/#/c/144/1//COMMIT_MSG
Commit Message:

Line 7: cdr/cdr_odbc: Added to record new columns add on CDR 1.8 Asterisk Version
      : 
      : New columns:
      :  * peeraccount
      :  * linkedid
      :  * sequence
      : 
      : Change-Id: Ibe0c7540a88305c6012786f438a0813ad8b19127
> if need add reference as "ASTERISK-24976" ?
Please read the Asterisk Commit Message instructions on the wiki:

https://wiki.asterisk.org/wiki/display/AST/Commit+Messages

It explains how to reference a JIRA Issue in a commit message.


https://gerrit.asterisk.org/#/c/144/1/cdr/cdr_odbc.c
File cdr/cdr_odbc.c:

Line 82: 	if (ast_test_flag(&config, CONFIG_LOGUNIQUEID)) {
       : 		snprintf(sqlcmd,sizeof(sqlcmd),"INSERT INTO %s "
       : 		"(calldate,clid,src,dst,dcontext,channel,dstchannel,lastapp,"
       : 		"lastdata,duration,billsec,disposition,amaflags,accountcode,"
       : 		"peeraccount,linkedid,sequence,"
       : 		"uniqueid,userfield)"
       : 		"VALUES ({ts '%s'},?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)", table, timestr);
       : 	} else {
       : 		snprintf(sqlcmd,sizeof(sqlcmd),"INSERT INTO %s "
       : 		"(calldate,clid,src,dst,dcontext,channel,dstchannel,lastapp,lastdata,"
       : 		"duration,billsec,disposition,amaflags,accountcode,"
       : 		"peeraccount,linkedid, sequence)"
       : 		"VALUES ({ts '%s'},?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)", table, timestr);
> Ok, thanks for recommendations!.
Yes, updating the UPGRADE file means you won't be able to cherry-pick cleanly. As you cherry-pick to each branch, you will need to resolve the merge issues, fix the UPGRADE notice to apply to the correct version of Asterisk for that branch, and then post each review.


-- 
To view, visit https://gerrit.asterisk.org/144
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: Ibe0c7540a88305c6012786f438a0813ad8b19127
Gerrit-PatchSet: 1
Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Owner: Rodrigo Ramirez Norambuena <decipher.hk at gmail.com>
Gerrit-Reviewer: Matt Jordan <mjordan at digium.com>
Gerrit-Reviewer: Rodrigo Ramirez Norambuena <decipher.hk at gmail.com>
Gerrit-HasComments: Yes



More information about the asterisk-code-review mailing list