[dev] Re: [cvs] commit: horde/lib/Category sql.php

Chuck Hagenbuch chuck at horde.org
Thu Jun 5 08:34:25 PDT 2003


Quoting Jan Schneider <jan at horde.org>:

> The problem is that the current driver sets and uses the autocommit flag
> uncoditionally. This results in an error in simpleQuery(), raising an
> error before the actual query has been done.
> This might work with newer versions, but the old one here doesn't know of
> any "BEGIN" statement.

It works on 3.23, even (not sure why or how, exactly, but it throws no
errors). This is another case where I'd *really* rather disable this for
the smallest number of cases possible. Maybe some kind of a config flag for
really old dbs?

> I had the hope that someone else knows a better solution than simply
> disabling it. If not, I'll turn it off conditionally.

Conditionally is still better than turning it off for everyone, so can we go
 with that until there's a better solution?

-chuck

--
Charles Hagenbuch, <chuck at horde.org>
The alligators were there, too, in a bathtub inside the house.



More information about the dev mailing list