]> git.ipfire.org Git - thirdparty/asterisk.git/commit
cel/cel_odbc: Provide microsecond precision in 'eventtime' column when possible
authorMatthew Jordan <mjordan@digium.com>
Sat, 15 Nov 2014 16:56:57 +0000 (16:56 +0000)
committerMatthew Jordan <mjordan@digium.com>
Sat, 15 Nov 2014 16:56:57 +0000 (16:56 +0000)
commit5e09dd3c75411ee8f53a1415e3ee69d67274cedb
tree75513d286a39ffae10d2b609ee08737d7fd80a07
parent6b7a2dc7b9da026acc5b2ffce6eee5014e606656
cel/cel_odbc: Provide microsecond precision in 'eventtime' column when possible

This patch adds microsecond precision when inserting a CEL record into a table
with an "eventtime" column of type timestamp, instead of second precision. The
documentation (configs/cel_odbc.conf.sample) was already saying that the
eventtime column included microseconds precision, but that was not the case.

Also, without this patch, if you had a table with an "eventtime" column of
type varchar, you had millisecond precision. With this patch, you also get
microsecond precision in this case.

Review: https://reviewboard.asterisk.org/r/3980

ASTERISK-24283 #close
Reported by: Etienne Lessard
patches:
  cel_odbc_time_precision.patch uploaded by Etienne Lessard (License 6394)
........

Merged revisions 427952 from http://svn.asterisk.org/svn/asterisk/branches/11
........

Merged revisions 427953 from http://svn.asterisk.org/svn/asterisk/branches/12

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/13@427954 65c4cc65-6c06-0410-ace0-fbb531ad65f3
cel/cel_odbc.c