On Thu, Mar 28, 2013 at 10:40 AM, Mateusz Loskot <[email protected]> wrote:

> On 28 March 2013 17:12, Pawel Aleksander Fedorynski <[email protected]>
> wrote:
> > The SOCI prepared statements syntax is supported by the MySQL backend,
> it is
> > just not using the mysql_stmt_* API internally, but caching the query
> > strings on the client (I believe same is true for the PostgreSQL
> backend.)
>
> PostgreSQL backend can work in two modes, with client-based prepared
> and using native libpq features (PQprepare).
> The behaviour is controlled at compile-time, grep for
> SOCI_POSTGRESQL_NOPREPARE preprocessor define.
>

I guess it would make sense to have a similar macro-switch for MySQL if we
ever choose to use mysql_stmt_ for the prepared statements for MySQL.

Best,

Aleksander


>
> Best regards,
> --
> Mateusz Loskot, http://mateusz.loskot.net
>
>
> ------------------------------------------------------------------------------
> Own the Future-Intel&reg; Level Up Game Demo Contest 2013
> Rise to greatness in Intel's independent game demo contest.
> Compete for recognition, cash, and the chance to get your game
> on Steam. $5K grand prize plus 10 genre and skill prizes.
> Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
> _______________________________________________
> soci-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/soci-users
>
------------------------------------------------------------------------------
Own the Future-Intel&reg; Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest.
Compete for recognition, cash, and the chance to get your game 
on Steam. $5K grand prize plus 10 genre and skill prizes. 
Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
_______________________________________________
soci-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/soci-users

Reply via email to