[Freeswitch-dev] core odbc vs in-module mysql

Daniel-Constantin Mierla miconda at gmail.com
Fri Feb 26 10:06:06 PST 2010



On 02/26/2010 05:08 PM, Anthony Minessale wrote:
> We use the odbc for any in-tree sql stuff because we are trying to 
> remain database agnostic.
> if it's your own module it's ok but if you want to contribute it, we 
> would appreciate using ODBC
ok, thanks. If I understood the architecture, default sql engine in the 
core is sqlite, with option to replace it with odbc at compile time.

odbc is indeed an abstract layer, but you lose from the power of 
underneath sql engine. And some out there don't like odbc much, asking 
to avoid it :-) .

Daniel

>
>
> On Fri, Feb 26, 2010 at 5:29 AM, Daniel-Constantin Mierla 
> <miconda at gmail.com <mailto:miconda at gmail.com>> wrote:
>
>     Hello,
>
>     is it something particular that recommends usage of core odbc api
>     instead of connecting from a module directly to mysql database?
>     I'm fine
>     to keep using sqlite for the rest of FS needs, just need to do fast
>     access to mysql, therefore I try to avoid the extra layer added by
>     odbc.
>
>     Thanks,
>     Daniel
>
>     --
>     Daniel-Constantin Mierla
>     * http://www.asipto.com/
>
>
>     _______________________________________________
>     FreeSWITCH-dev mailing list
>     FreeSWITCH-dev at lists.freeswitch.org
>     <mailto:FreeSWITCH-dev at lists.freeswitch.org>
>     http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
>     UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
>     http://www.freeswitch.org
>
>
>
>
> -- 
> Anthony Minessale II
>
> FreeSWITCH http://www.freeswitch.org/
> ClueCon http://www.cluecon.com/
> Twitter: http://twitter.com/FreeSWITCH_wire
>
> AIM: anthm
> MSN:anthony_minessale at hotmail.com 
> <mailto:MSN%3Aanthony_minessale at hotmail.com>
> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com 
> <mailto:PAYPAL%3Aanthony.minessale at gmail.com>
> IRC: irc.freenode.net <http://irc.freenode.net> #freeswitch
>
> FreeSWITCH Developer Conference
> sip:888 at conference.freeswitch.org 
> <mailto:sip%3A888 at conference.freeswitch.org>
> iax:guest at conference.freeswitch.org/888 
> <http://iax:guest@conference.freeswitch.org/888>
> googletalk:conf+888 at conference.freeswitch.org 
> <mailto:googletalk%3Aconf%2B888 at conference.freeswitch.org>
> pstn:+19193869900
>
>
> _______________________________________________
> FreeSWITCH-dev mailing list
> FreeSWITCH-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org
>    

-- 
Daniel-Constantin Mierla
* http://www.asipto.com/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100226/aa218036/attachment.html 


More information about the FreeSWITCH-dev mailing list