[Freeswitch-users] odbc FLAG_MULTI_STATMENTS

Michael Jerris mike at jerris.com
Thu Nov 26 12:53:21 PST 2009


http://dev.mysql.com/doc/refman/5.1/en/connector-odbc-news-3-51-18.html

MySQL Connector/ODBC now supports batched statements. In order to enable
        cached statement support you must switch enable the batched
        statement option (FLAG_MULTI_STATEMENTS,
        67108864, or Allow multiple statements
        within a GUI configuration). Be aware that batched statements
        create an increased chance of SQL injection attacks and you must
        ensure that your application protects against this scenario.
       (Bug#7445)


On Nov 26, 2009, at 2:22 PM, Frank @ Impact wrote:

> “GREAT SCOTT!!! Cannot execute batched statements!
> If you are using mysql, make sure you are using MYODBC 3.51.18 or higher and enable FLAG_MULTI_STATEMENTS”
>  
> I realize a bit off of list topic…
>  
> But I do have mysql 3.51.18 and higher but for the life of me , I cannot seem to get the DSN config setup so that the odbc connector seems to tell FS that it can do multi statements.
>  
> Anyone have any insight on how and where to set this flag?
>  
>  
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20091126/ec26c59d/attachment-0002.html 


More information about the FreeSWITCH-users mailing list