Re: [SR-Users] Fwd: save accdb records with milisec in timestamp field

2013-04-23 Thread Daniel-Constantin Mierla
Hello, On 4/23/13 9:44 PM, Andreas Granig wrote: [...] - the names of the new column, respectively 'time_hires' sounds a bit strange to me, does it have any special meaning the word 'hires'? It's "hires" as in "high resolution" for the timestamp value. the result was reading quite strange,

Re: [SR-Users] Fwd: save accdb records with milisec in timestamp field

2013-04-23 Thread Andreas Granig
Hi Daniel, On 04/23/2013 08:51 PM, Daniel-Constantin Mierla wrote: - the tm variable is declared set, but not used - tz is also not used, gettimeofday() can take NULL as second parameter and iirc, tz is obsolete - I wonder if gettimeofday() can actually fail and return code should be checked fo

Re: [SR-Users] Fwd: save accdb records with milisec in timestamp field

2013-04-23 Thread Daniel-Constantin Mierla
Hello, looking now at the patch on the tracker (which somehow was assigned to me), I see few issues and have some questions: - the tm variable is declared set, but not used - tz is also not used, gettimeofday() can take NULL as second parameter and iirc, tz is obsolete - I wonder if gettimeof

Re: [SR-Users] Fwd: save accdb records with milisec in timestamp field

2013-04-23 Thread Andreas Granig
Hi Uri, On 04/23/2013 10:45 AM, Uri Shacked wrote: can anyone tell me if it is possible to save the time and date using accdb (mysql) with milisec as well? the field on the DB is set as TIMESTAMP. We've opened a ticket on the bug tracker some months ago, but it's still open at http://sip-ro

[SR-Users] Fwd: save accdb records with milisec in timestamp field

2013-04-23 Thread Uri Shacked
Hi, can anyone tell me if it is possible to save the time and date using accdb (mysql) with milisec as well? the field on the DB is set as TIMESTAMP. BR, Uri ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-