I'm pretty sure it's one connection too, but for quoting value, does
Zend_Db_Adapter contacts mysql server in order to get some info about how to
quote it?

Regards,
Saša Stamenković


On Mon, May 24, 2010 at 4:03 PM, Thomas D. <[email protected]> wrote:

> Hi,
>
> Саша Стаменковић wrote:
> > Yeah, quoteInto connects to db for every quoted value,
> > and that breaks my limit of 15 queries at once,
> > even I only run one select and one update query,
> > it quotes array of values. What should I do?
>
> I cannot believe this. If this would be true, this would be a big bug.
> Think about the impact on performance.
> I am monitoring our mysqld while developing and I didn't see such a
> behavior. Only one connection is established per database and used across
> multiple Zend_Db_Table instances.
>
> So there must be something wrong in your code. E.g. a logical error (wrong
> usage).
>
> What I would do:
> I would run this code locally in a debugger and watch the mysqld query log.
> Then you should know, where's the problem is located.
>
>
> --
> Regards,
> Thomas
>
>
>

Reply via email to