[sr-dev] git:master: modules/mtree: when loading data from db, load each tree separately

Daniel-Constantin Mierla miconda at gmail.com
Wed Oct 30 21:26:38 CET 2013


On 10/30/13 7:02 PM, Juha Heinanen wrote:
> Daniel-Constantin Mierla writes:
>
>>> as i already replied, i don't see how that can be done when some trees
>>> hold int values and some hold string values.
>> Then use different tables (or views) per table.
> i don't want so complicated solution.  mtrees table is designed to hold
> many trees because it has tname column.  with mtree parameter it is
> possible to define the type of each table. what is wrong with that?
The wrong part here is that your patch breaks loading mtree-like tables. 
If you want to combine mtrees-like tables with definition in config, 
that's fine, do proper patch for it. Don't break what was designed from 
the start of the module.
Daniel

-- 
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio Advanced Trainings - Berlin, Nov 25-28
   - more details about Kamailio trainings at http://www.asipto.com -




More information about the sr-dev mailing list