From: gvrynios at gmail dot com Operating system: Windows XP Professional SP 2 PHP version: 5CVS-2006-04-30 (snap) PHP Bug Type: MySQL related Bug description: Upgrade From 4.3.2 to 5.1.2
Description: ------------ My System Windows XP Professional SP2 MySql Version 4.1.7-nt with Greek Character Set And Collation PHP Version 4.3.9 phpBB Version 2.x All Works Fine I tried to upgrade to PHP 5.1.2 and for each sql statment I got the error SQL Error : 1271 Illegal mix of collations for operation ' IN ' I have downgrade back to php 4.3.9 and all works fine If tried with the CVS Version 5.2.0-dev Build Date: Apr 30 2006 16:15:30 but the problem still exists Is that a bug in PHP ? Reproduce code: --------------- any sql statment with text field and greek_general_ci Expected result: ---------------- to work after the upgrade -- Edit bug report at http://bugs.php.net/?id=37252&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=37252&r=trysnapshot44 Try a CVS snapshot (PHP 5.1): http://bugs.php.net/fix.php?id=37252&r=trysnapshot51 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=37252&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=37252&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=37252&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=37252&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=37252&r=needscript Try newer version: http://bugs.php.net/fix.php?id=37252&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=37252&r=support Expected behavior: http://bugs.php.net/fix.php?id=37252&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=37252&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=37252&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=37252&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=37252&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=37252&r=dst IIS Stability: http://bugs.php.net/fix.php?id=37252&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=37252&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=37252&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=37252&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=37252&r=mysqlcfg