[asterisk-commits] russell: branch russell/sqlite r58857 -
/team/russell/sqlite/cdr/cdr_sqlite.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Tue Mar 13 11:32:24 MST 2007
Author: russell
Date: Tue Mar 13 13:32:24 2007
New Revision: 58857
URL: http://svn.digium.com/view/asterisk?view=rev&rev=58857
Log:
mark cdr_sqlite deprecated
Modified:
team/russell/sqlite/cdr/cdr_sqlite.c
Modified: team/russell/sqlite/cdr/cdr_sqlite.c
URL: http://svn.digium.com/view/asterisk/team/russell/sqlite/cdr/cdr_sqlite.c?view=diff&rev=58857&r1=58856&r2=58857
==============================================================================
--- team/russell/sqlite/cdr/cdr_sqlite.c (original)
+++ team/russell/sqlite/cdr/cdr_sqlite.c Tue Mar 13 13:32:24 2007
@@ -30,6 +30,8 @@
*
* Creates the database and table on-the-fly
* \ingroup cdr_drivers
+ *
+ * \note This module has been marked deprecated in favor for cdr_sqlite3_custom
*/
/*** MODULEINFO
@@ -180,6 +182,9 @@
char fn[PATH_MAX];
int res;
+ ast_log(LOG_WARNING, "This module has been marked deprecated in favor of "
+ "using cdr_sqlite3_custom. (May be removed after Asterisk 1.6)\n");
+
/* is the database there? */
snprintf(fn, sizeof(fn), "%s/cdr.db", ast_config_AST_LOG_DIR);
db = sqlite_open(fn, AST_FILE_MODE, &zErr);
More information about the asterisk-commits
mailing list