[Devel] Patch - LCR Strip Option
Bogdan-Andrei Iancu
bogdan at voice-system.ro
Tue Dec 6 12:04:39 CET 2005
Hi Ovidiu,
the many problem in porting the LCR to the DB API is actually the
load_gw() function - there is complex query which cannot be mapped over
the API:
"SELECT %.*s.%.*s, %.*s.%.*s, %.*s.%.*s, %.*s.%.*s, %.*s.%.*s, %.*s.%.*s
FROM %.*s, %.*s WHERE '%.*s' LIKE %.*s.%.*s AND '%.*s' LIKE
CONCAT(%.*s.%.*s, '%%') AND %.*s.%.*s = %.*s.%.*s ORDER BY
CHAR_LENGTH(%.*s.%.*s), %.*s.%.*s DESC, RAND()"
I would say the patch makes sense only if it solves completely the
problem....
regards,
bogdan
Ovidiu Sas wrote:
> Tested ok :o)
>
> I submitted a patch that will replace the raw_query() with a query
> inside the reload_gws() function. This is the first step to add
> dbtext support to the lcr module.
>
> https://sourceforge.net/tracker/?func=detail&atid=743022&aid=1372036&group_id=139143
>
>
>
> -ovi
>
> Klaus Darilion wrote:
>
>> Hi Ovi!
>>
>> Ovidiu Sas wrote:
>>
>>>
>>> The sc script for lcr should be updated too ...
>>> 'openserctl lcr addgw'
>>
>>
>>
>> done. please test it if you have time.
>>
>> klaus
>>
>>>
>>>
>>> -ovi
>>>
>>> On Wed, 23 Nov 2005, Bogdan-Andrei Iancu wrote:
>>>
>>>> Hi Bayan, Hi Juha,
>>>>
>>>> I committed the patch on the cvs - the online docs were also updated.
>>>> Maybe an email on users@ mailing list will be good...just to let
>>>> people know about the new feature....
>>>>
>>>> Regards,
>>>> Bogdan
>>>>
>>>> Bayan William Towfiq wrote:
>>>>
>>>>> Bayan William Towfiq wrote:
>>>>>
>>>>>> Juha,
>>>>>> Sorry about that. I'll have a new one out a little later today.
>>>>>>
>>>>>> Bayan
>>>>>>
>>>>>> Juha Heinanen wrote:
>>>>>>
>>>>>>> bayan,
>>>>>>>
>>>>>>> sorry, but your diff didn't include patches for the documentation
>>>>>>> files.
>>>>>>>
>>>>>>> -- juha
>>>>>>>
>>>>>>
>>>>> _______________________________________________
>>>>> Devel mailing list
>>>>> Devel at openser.org
>>>>> http://openser.org/cgi-bin/mailman/listinfo/devel
>>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Devel mailing list
>>>> Devel at openser.org
>>>> http://openser.org/cgi-bin/mailman/listinfo/devel
>>>>
>>>>
>>>
>>> _______________________________________________
>>> Devel mailing list
>>> Devel at openser.org
>>> http://openser.org/cgi-bin/mailman/listinfo/devel
>>>
>>>
>>
>
>
> _______________________________________________
> Devel mailing list
> Devel at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/devel
>
More information about the Devel
mailing list