2009/9/30 Norbert Sendetzky <norb...@linuxnetworks.de>

> Hi Mariano, Herbert
>
> > > wouldn't the cheapest way be to just build a special case into
> > > SqueakDBX error handling that could be activated via some option?
> >
> > This, this can be perfectly done (I think). I also have thought in this
> > solution. I will review the code and commit a version so that you can
> test
> > it.
>
> Please don't handle this case specially in SqueakDBX as it changes the
> behaviour of the whole backend and this should only be done by the
> application
> programmer who knows what he's doing. There's an option (ODBX_OPT_MODE)
> which
> the application programmer can use to set the MySQL mode. We could change
> this
> slightly so when setting it to an empty string, the "sql_mode" isn't set at
> all.
>

mmmm this sounds a better solution :)

However, instead of an empty string I would like to declare something like
"NO_SQL_MODE" or something like that but with much more description. What do
you think ?



>
> > The thing is that I don't know what happens if you open a connection with
> > this error. What happens with all of the queries you do then ? will them
> > work?
>
> It won't work as the odbx_bind() function has to clean up the connection
> and
> close it.
>
>
ok.


>
> Norbert
> --
> OpenPGP public key
> http://www.linuxnetworks.de/norbert.pubkey.asc
>
>
------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
libopendbx-devel mailing list
libopendbx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libopendbx-devel
http://www.linuxnetworks.de/doc/index.php/OpenDBX

Reply via email to