via: 1096e6732c6073228f78d7ab24be29780713f64c (commit)
from: 500e9acd254e1e2b50d07aec2fe1241fe3e18aba (commit)
= COMMIT LOG ===========================================================
committer: Marc Olivier Chouinard
comments:
switch_core_sqldb: Index column name wrong on table registrations. (This wont create the index for people who already have the table)
diff --git a/src/switch_core_sqldb.c b/src/switch_core_sqldb.c
index 120b256..f135e95 100644
--- a/src/switch_core_sqldb.c
+++ b/src/switch_core_sqldb.c
@@ -1639,7 +1639,7 @@ static char create_registrations_sql[] =
" network_proto VARCHAR(256),\n"
" hostname VARCHAR(256)\n"
");\n"
- "create index regindex1 on registrations (user,realm,hostname);\n";
+ "create index regindex1 on registrations (reg_user,realm,hostname);\n";
SWITCH_DECLARE(switch_status_t) switch_core_add_registration(const char *user, const char *realm, const char *token, const char *url, uint32_t expires,
Summary of changes: src/switch_core_sqldb.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
this email was generated because of /git/your-repo.git/hooks/post-receive by the file /git-core/contrib/hooks/post-receive-email
For more info, see http://blog.chomperstomp.com/?p=630
--
FreeSWITCH Source