Module: sip-router Branch: master Commit: bedb7fdc6d02e92fbf52ad4acb6dfcbb49f0bc49 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=bedb7fdc...
Author: Juha Heinanen jh@tutpro.com Committer: Juha Heinanen jh@tutpro.com Date: Fri Sep 7 19:16:37 2012 +0300
db schema: removed unique requirement from pua expires_idx
- TODO: change also other than mysql table structures
---
lib/srdb1/schema/pr_pua.xml | 1 - utils/kamctl/mysql/presence-create.sql | 3 +-- 2 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/lib/srdb1/schema/pr_pua.xml b/lib/srdb1/schema/pr_pua.xml index 5bd690b..0351768 100644 --- a/lib/srdb1/schema/pr_pua.xml +++ b/lib/srdb1/schema/pr_pua.xml @@ -163,7 +163,6 @@ <index> <name>expires_idx</name> <colref linkend="expires"/> - <unique/> </index>
<index> diff --git a/utils/kamctl/mysql/presence-create.sql b/utils/kamctl/mysql/presence-create.sql index 5584f8e..7f68249 100644 --- a/utils/kamctl/mysql/presence-create.sql +++ b/utils/kamctl/mysql/presence-create.sql @@ -103,7 +103,6 @@ CREATE TABLE pua ( version INT(11) NOT NULL, extra_headers TEXT NOT NULL, CONSTRAINT pua_idx UNIQUE (etag, tuple_id, call_id, from_tag), - CONSTRAINT expires_idx UNIQUE (expires) ) ENGINE=MyISAM;
CREATE INDEX dialog1_idx ON pua (call_id, from_tag, to_tag); @@ -112,4 +111,4 @@ CREATE INDEX tmp_dlg1_idx ON pua (call_id, from_tag); CREATE INDEX tmp_dlg2_idx ON pua (pres_id, pres_uri, call_id, from_tag); CREATE INDEX tmp_record1_idx ON pua (pres_id); CREATE INDEX tmp_record2_idx ON pua (pres_id, etag); - +CREATE INDEX expires_idx ON pua (expires);
Hello Juha,
I wonder if your .gitconfig is not set, because notifications for the commits done by you are sent from admin@sip-router.org. In the past (quite some time ago), there were also emails coming from you, like:
http://lists.sip-router.org/pipermail/sr-dev/2011-November/013375.html
No real big deal, the author is recorded properly in git, but it would be easier to reply to notification email and spot at one sight (e.g., when looking over archive indexes) who did the changes.
Cheers, Daniel
On 9/7/12 6:19 PM, admin@sip-router.org wrote:
Module: sip-router Branch: master Commit: bedb7fdc6d02e92fbf52ad4acb6dfcbb49f0bc49 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=bedb7fdc...
Author: Juha Heinanen jh@tutpro.com Committer: Juha Heinanen jh@tutpro.com Date: Fri Sep 7 19:16:37 2012 +0300
db schema: removed unique requirement from pua expires_idx
- TODO: change also other than mysql table structures
Daniel-Constantin Mierla writes:
I wonder if your .gitconfig is not set, because notifications for the commits done by you are sent from admin@sip-router.org. In the past (quite some time ago), there were also emails coming from you, like:
i don't know. in .gitconfig i only have:
[user] name = Juha Heinanen email = jh@tutpro.com
-- juha