[arch-dev-public] [arch-dev] prepared statements in recent mysql update broken?

Pierre Schmitz pierre at archlinux.de
Fri Jun 19 00:41:08 EDT 2009


On Thursday 11 June 2009 01:38:59 Pierre Schmitz wrote:
> Hi,
>
> after upgrading mysql from 5.1.34 to.35 I noticed some quite strange
> behaviour. I am not done with my tests yet but it seams that at least with
> PHP prepared statements are broken under some conditions.
>
> E.g. The example from http://de2.php.net/manual/en/mysqli-stmt.execute.php
> gave me the output:
>
> Stuttgart (DEU,0)
> Bordeaux (FRA,0)
>
> It should be
>
> Stuttgart (DEU,Baden-Wuerttemberg)
> Bordeaux (FRA,Aquitaine)
>
> So somehow the binding of the third variable fails. Downgrading mysql to
> .34 solves the problem. Recompiling php (maybe there was a hidden ABI
> change like there was some in the past) did not help either.

Me again. So, I tried to rebuild .34. The result was again a broken mysql. So 
its eems its not mysql itself but one of its static deps or gcc. It seems the 
old package was build with gcc 4.3.

-- 

Pierre Schmitz, http://users.archlinux.de/~pierre


More information about the arch-dev-public mailing list