[Kamailio-Users] dbtext, domain and caching
Daniel-Constantin Mierla
miconda at gmail.com
Tue Nov 17 16:37:17 CET 2009
Hello,
On 16.11.2009 15:15 Uhr, Andreas Granig wrote:
> Btw, kam 1.5.2 is used.
>
> Andreas Granig wrote:
>> I was trying to use caching in domain module with the dbtext backend,
>> but on startup I get the error
>>
>> ERROR:domain:reload_domain_table: Database problem
>>
>> Looks like something is wrong with the column type when it's checked
>> in line
>>
>> if ((ROW_N(row) == 1) && (VAL_TYPE(val) == DB_STRING)) { ... }
>>
>> The db file for domain module looks like:
>>
>> id(int) domain(str) last_modified(int)
try to set the column type to string, the module should support that as
well. I just checked the sources:
id(int) domain(string) last_modified(int)
Cheers,
Daniel
>> 1:test.local:0
>>
>> Any hints on that? Probably a problem with dbtext module, since it
>> works with mysql?
>>
>> Best regards,
>> Andreas
>
> _______________________________________________
> Kamailio (OpenSER) - Users mailing list
> Users at lists.kamailio.org
> http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
> http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
>
--
Daniel-Constantin Mierla
* http://www.asipto.com/
More information about the Users
mailing list