From:             joustin at post dot pl
Operating system: Windows
PHP version:      5.1.2
PHP Bug Type:     MySQLi related
Bug description:  No set_charset method despite libmysql 5.0.18 and php 5.1.2

Description:
------------
MYSQL Client API version        5.0.18
PHP 5.1.2 (cli) (built: Jan 11 2006 16:40:00)

Cannot call set_charset method of mysqli object!

Reproduce code:
---------------
$c = new mysqli('localhost','root','','test');
if($c)
var_dump(method_exists($c,'set_charset'));

Expected result:
----------------
true

Actual result:
--------------
false


Export Table:
  Name:                          LIBMYSQL.dll
  Time Date Stamp:               0x43B2E430 (2005-12-28 21:14:56)
  Version:                       0.00
  Ordinal Base:                  1
  Number of Functions:           150
  Number of Names:               150

  Ordinal   Entry Point   Name
[...]
       58   0x00014E50    mysql_get_character_set_info
       59   0x00014D20    mysql_get_client_info
[...]
       99   0x00003BB0    mysql_set_character_set
[...]

-- 
Edit bug report at http://bugs.php.net/?id=36863&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=36863&r=trysnapshot44
Try a CVS snapshot (PHP 5.1): 
http://bugs.php.net/fix.php?id=36863&r=trysnapshot51
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=36863&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=36863&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=36863&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=36863&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=36863&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=36863&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=36863&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=36863&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=36863&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=36863&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=36863&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=36863&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=36863&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=36863&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=36863&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=36863&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=36863&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=36863&r=mysqlcfg

Reply via email to