On May 1, 2005, at 23:16 , Steve Atkins wrote:
> Isn't this behaving as documented? prepare_cached() is supposed to
> return the original statement handle when you pass it the same string
> a second time.
Yes.
> The docs for prepare_cached() are littered with "Don't do this unless
> you understand the implications" warnings, as well as some kludges to
> differentiate different cases.
Which is why Vlad should use prepare() instead of prepare_cached().
Regards,
David