php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #38415 ext/mysqli/tests/028.phpt doesn't validate with charsets other than latin1
Submitted: 2006-08-10 13:23 UTC Modified: 2006-08-10 13:44 UTC
From: chtekk at gentoo dot org Assigned:
Status: Closed Package: MySQLi related
PHP Version: 5.1.4 OS: Gentoo Linux
Private report: No CVE-ID: None
 [2006-08-10 13:23 UTC] chtekk at gentoo dot org
Description:
------------
ext/mysqli/tests/028.phpt expects latin1 as charset used for MySQL, always. This expectation is not true, as you can compile MySQL and it's libs with any of the supported charsets, on Gentoo for example the default is utf8, so the test fails. Changing the text to just expect a string seems reasonable to me, and works for all existing MySQL charsets...
Patch can be found at the following url:
http://overlays.gentoo.org/proj/php/browser/patches/php-patches/5.1.4/5.1.4/php5.1.4-test_mysqli028.patch?format=txt

Best regards, CHTEKK.

Expected result:
----------------
Test works. ;)


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-08-10 13:44 UTC] tony2001@php.net
This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 05:01:28 2024 UTC