switch_core_sqldb: Index column name wrong on table registrations. (This wont…

switch_core_sqldb: Index column name wrong on table registrations.  (This wont create the index for people who already have the table)
上级 500e9acd
...@@ -1639,7 +1639,7 @@ static char create_registrations_sql[] = ...@@ -1639,7 +1639,7 @@ static char create_registrations_sql[] =
" network_proto VARCHAR(256),\n" " network_proto VARCHAR(256),\n"
" hostname VARCHAR(256)\n" " hostname VARCHAR(256)\n"
");\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, SWITCH_DECLARE(switch_status_t) switch_core_add_registration(const char *user, const char *realm, const char *token, const char *url, uint32_t expires,
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论