ID: 43036 Updated by: [EMAIL PROTECTED] Reported By: chad at herballure dot com -Status: Assigned +Status: Closed Bug Type: MySQLi related Operating System: Linux PHP Version: 5.2.5RC1 Assigned To: uw New Comment:
Thanks! This should fix it. Committed into 5_3 and 6 branches. 5_2 also modified. [EMAIL PROTECTED]:~/php5> cvs diff ext/mysqli/tests/047.phpt Index: ext/mysqli/tests/047.phpt =================================================================== RCS file: /repository/php-src/ext/mysqli/tests/047.phpt,v retrieving revision 1.8.4.1.2.1 diff -r1.8.4.1.2.1 047.phpt 4,5c4,5 < <?php < require_once('skipif.inc'); --- > <?php > require_once('skipif.inc'); 65c65 < int(11) --- > int(%d) 67c67 < int(63) --- > int(%d) 90c90 < int(10) --- > int(%d) 92c92 < int(8) --- > int(%d) 117c117 < int(11) --- > int(%d) 119c119 < int(63) --- > int(%d) 141c141 < int(10) --- > int(%d) 143c143 < int(8) --- > int(%d) 167c167 < int(11) --- > int(%d) 169c169 < int(63) --- > int(%d) 191c191 < int(10) --- > int(%d) 193c193 < int(8) --- > int(%d) 220c220 < int(11) --- > int(%d) 222c222 < int(63) --- > int(%d) Its a bit tricky to catch all the OS/Settings/Server version pitfalls. Anyway, I can't warranty that in all cases we can work around custom server settings. It might happen that we have to assume default settings in some cases. Previous Comments: ------------------------------------------------------------------------ [2007-10-19 12:42:10] chad at herballure dot com Description: ------------ ext/mysqli/tests/047.phpt fails because the default MySQL character set of this machine is UTF-8 instead of some single-byte encoding. This makes the 'length' and 'charsetnr' fields have unexpected values (30 and 33 instead of 10 and 3), but otherwise the test produces the expected results. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=43036&edit=1