Summary: | ASTERISK-02118: [patch] fix date values | ||
Reporter: | jimkou (jimkou) | Labels: | |
Date Opened: | 2004-07-27 07:24:11 | Date Closed: | 2008-01-15 15:03:43.000-0600 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | CDR/cdr_tds |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) cdr_tds.c.diff.txt | |
Description: | when cdr_tds insert empty(blank) values to datetime column it's always inserted as '1/1/1990', this patch can solve this problems. | ||
Comments: | By: duanecox (duanecox) 2004-07-27 11:16:46 Applied patch, works better now. This doesn't insert anything into field, so field remains NULL. Other empty fields in code insert '' as data, so field is not left as NULL. Not consistant, but maybe that's how it works best..? Thanks for the cdr_tds code, it's great. By: Mark Spencer (markster) 2004-07-27 17:30:45 Okies, got it in there. I like the formatting especially! By: Digium Subversion (svnbot) 2008-01-15 15:03:43.000-0600 Repository: asterisk Revision: 3525 U trunk/cdr/cdr_tds.c ------------------------------------------------------------------------ r3525 | markster | 2008-01-15 15:03:43 -0600 (Tue, 15 Jan 2008) | 2 lines Fix date/time in TDS stuff (bug ASTERISK-2118) ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=3525 |