Module: sip-router Branch: master Commit: 976f801ae2df9597be0fccff89496bde34b22e62 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=976f801a...
Author: Henning Westerholt hw@kamailio.org Committer: Henning Westerholt hw@kamailio.org Date: Fri Sep 7 12:44:33 2012 +0200
dialog: use long_hf_len instead of hardcoded value in table defs, no actual schema change
---
lib/srdb1/schema/dialog.xml | 6 +++--- lib/srdb1/schema/dialog_vars.xml | 2 +- lib/srdb1/schema/entities.xml | 1 + 3 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/lib/srdb1/schema/dialog.xml b/lib/srdb1/schema/dialog.xml index 19bf242..fadb5aa 100644 --- a/lib/srdb1/schema/dialog.xml +++ b/lib/srdb1/schema/dialog.xml @@ -101,7 +101,7 @@ <column> <name>caller_route_set</name> <type>string</type> - <size>512</size> + <size>&long_hf_len;</size> <null/> <description>Route set on the caller side.</description> </column> @@ -109,7 +109,7 @@ <column> <name>callee_route_set</name> <type>string</type> - <size>512</size> + <size>&long_hf_len;</size> <null/> <description>Route set on on the caller side.</description> </column> @@ -204,7 +204,7 @@ <column> <name>xdata</name> <type>string</type> - <size>512</size> + <size>&long_hf_len;</size> <null/> <description>Extra data associated to the dialog (e.g., serialized profiles).</description> </column> diff --git a/lib/srdb1/schema/dialog_vars.xml b/lib/srdb1/schema/dialog_vars.xml index 429b01c..7c7a757 100644 --- a/lib/srdb1/schema/dialog_vars.xml +++ b/lib/srdb1/schema/dialog_vars.xml @@ -54,7 +54,7 @@ <column> <name>dialog_value</name> <type>string</type> - <size>512</size> + <size>&long_hf_len;</size> <description>The value of the dialog variable</description> </column>
diff --git a/lib/srdb1/schema/entities.xml b/lib/srdb1/schema/entities.xml index ff12ca0..8ff237d 100644 --- a/lib/srdb1/schema/entities.xml +++ b/lib/srdb1/schema/entities.xml @@ -6,6 +6,7 @@ <!ENTITY id_len "64"> <!ENTITY table_id_len "10"> <!ENTITY hf_len "255"> +<!ENTITY long_hf_len "512"> <!ENTITY rule_len "255"> <!ENTITY method_len "16"> <!ENTITY avp_name_len "32">