#47802 [NEW]: PDO_MYSQL doesn't use the charset parameter

From: Date: Fri, 27 Mar 2009 08:53:58 +0000
Subject: #47802 [NEW]: PDO_MYSQL doesn't use the charset parameter
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-135201@lists.php.net to get a copy of this message
From:             disbursement at dublin dot com
Operating system: all
PHP version:      5.2.9
PHP Bug Type:     Feature/Change Request
Bug description:  PDO_MYSQL doesn't use the charset parameter

Description:
------------
	static int pdo_mysql_handle_factory(pdo_dbh_t *dbh, zval *driver_options
TSRMLS_DC) /* {{{ */
{
...
	struct pdo_data_src_parser vars[] = {
		{ "charset",  NULL,	0 },
		{ "dbname",   "",	0 },
		{ "host",   "localhost",	0 },
		{ "port",   "3306",	0 },
		{ "unix_socket",  PDO_MYSQL_UNIX_ADDR,	0 },
	};

The option "charset"/vars[0] is never used, but would be a nice feature.


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



Thread (9 messages)

« previous php.bugs (#135201) next »