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

Allan McRae allan at archlinux.org
Tue Jun 23 11:26:29 EDT 2009

Pierre Schmitz wrote:
> 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.

Just a random though...  is there any file differences between the 
original .34 and a rebuilt one?

Also, is there a bug report open to track this?  I did a quick search 
and did not find one.


More information about the arch-dev-public mailing list