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 <mico...@gmail.com> 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 > <mico...@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@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_miness...@hotmail.com > GTALK/JABBER/PAYPAL:anthony.miness...@gmail.com > IRC: irc.freenode.net #freeswitch > > FreeSWITCH Developer Conference > sip:8...@conference.freeswitch.org > iax:gu...@conference.freeswitch.org/888 > googletalk:conf+...@conference.freeswitch.org > pstn:+19193869900 > > _______________________________________________ > FreeSWITCH-dev mailing list > FreeSWITCH-dev@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/ > > _______________________________________________ > FreeSWITCH-dev mailing list > FreeSWITCH-dev@lists.freeswitch.org > 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 FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org