ODBC can be enabled/disabled at compile time, but the choice of whether to use it is made at runtime in the configuration files - if you set a DSN for a ODBC database it will use ODBC (or show errors if ODBC is not compiled in), if you do not it will generally use SQLite.
Regards, -Steve On 26 February 2010 18:06, Daniel-Constantin Mierla <[email protected]> wrote: > > > 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 > <[email protected]> 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 >> [email protected] >> 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:[email protected] > GTALK/JABBER/PAYPAL:[email protected] > IRC: irc.freenode.net #freeswitch > > FreeSWITCH Developer Conference > sip:[email protected] > iax:[email protected]/888 > googletalk:[email protected] > pstn:+19193869900 > > _______________________________________________ > FreeSWITCH-dev mailing list > [email protected] > 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/ > > _______________________________________________ > FreeSWITCH-dev mailing list > [email protected] > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > http://www.freeswitch.org > > _______________________________________________ FreeSWITCH-dev mailing list [email protected] http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
