Mercurial > hg > freeDiameter
view doc/app_sip_SL.sql @ 1260:4f6f61e67599
Store redirect information for ALL_SESSION and ALL_USER in a hash.
This is a speedup if many of these exist (compared to checking a
linked list for matches as before).
Refactor a bit while here.
Use the uthash code from Troy D. Hanson,
http://troydhanson.github.com/uthash/
author | Thomas Klausner <tk@giga.or.at> |
---|---|
date | Mon, 24 Mar 2014 13:21:41 +0100 |
parents | 533188d2e6cc |
children |
line wrap: on
line source
SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO"; -- -- SUBSCRIBER LOCATOR DATABASE -- -- -------------------------------------------------------- -- -- Table structure for table `ds_sip_aor_map` -- CREATE TABLE IF NOT EXISTS `ds_sip_aor_map` ( `id_map` int(11) NOT NULL AUTO_INCREMENT, `sip_aor` varchar(255) NOT NULL, `diameter_uri` varchar(255) NOT NULL, PRIMARY KEY (`id_map`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=2 ;