projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
219f969
)
Typo pointed out on #asterisk-dev (by atis_work)
author
Tilghman Lesher
<tilghman@meg.abyt.es>
Tue, 8 Dec 2009 18:40:19 +0000
(18:40 +0000)
committer
Tilghman Lesher
<tilghman@meg.abyt.es>
Tue, 8 Dec 2009 18:40:19 +0000
(18:40 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@233732
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
addons/res_config_mysql.c
patch
|
blob
|
history
diff --git
a/addons/res_config_mysql.c
b/addons/res_config_mysql.c
index
c68c29d
..
fc0d94e
100644
(file)
--- a/
addons/res_config_mysql.c
+++ b/
addons/res_config_mysql.c
@@
-1227,7
+1227,7
@@
static int require_mysql(const char *database, const char *tablename, va_list ap
} else {
res = -1;
}
- } else if ((strncmp(column->type, "datetime", 8) == 0 || strncmp(column->type, "timestamp", 9)) && type != RQ_DATETIME) {
+ } else if ((strncmp(column->type, "datetime", 8) == 0 || strncmp(column->type, "timestamp", 9) == 0) && type != RQ_DATETIME) {
if (table->database->requirements == RQ_WARN) {
ast_log(LOG_WARNING, "Realtime table %s@%s: Column %s cannot be a %s\n", tablename, database, column->name, column->type);
res = -1;