Bug #64099 [Csd]: bug&&question
Edit report at https://bugs.php.net/bug.php?id=64099&edit=1
ID: 64099
Updated by: laruence@php.net
Reported by: eduosi at 163 dot com
Summary: bug&&question
Status: Closed
Type: Bug
Package: *General Issues
PHP Version: master-Git-2013-01-29 (Git)
Assigned To: johannes
Block user comment: N
Private report: N
New Comment:
I think you understand the question properly :)
Previous Comments:
------------------------------------------------------------------------
[2013-01-29 18:56:49] johannes@php.net
Hi,
I've fixed the first issue.
To the second thing: My Chinese is too limited, so I'm not sure I understand this correctly,
but: In mysqlnd_array_init(return_value, mysqlnd_num_fields(result) * 2); we are using the factor 2
as we're building an array where we have two entries for each column - once with the field name
as string and second time with the filed name number (ordinal).
Please mind that this is no support forum. If you have question write the generals list, for
internals ask either the internals list or pecl dev and try to use English, as we otherwise have
trouble to understand.
------------------------------------------------------------------------
[2013-01-29 18:50:15] johannes@php.net
Automatic comment on behalf of johannes
Revision: http://git.php.net/?p=php-src.git;a=commit;h=93fd9c704b9aae141008274e9f3bd2775116a83a
Log: Fix bug #64099 (Wrong TSRM usage in zend_register_class_alias)
------------------------------------------------------------------------
[2013-01-29 17:44:07] eduosi at 163 dot com
Description:
------------
é®é¢ä¸ãZend/Zend_API.h ä¸ï¼å®
zend_register_class_aliasãzend_register_ns_class_aliasï¼æçè§£è¿ä¸¤ä¸ªå®çä½ç¨æ¯æä¾è°ç¨çï¼ä½æ¯è¿ä¸¤ä¸ªå®å±å¼åï¼zend_register_class_alias_exåzend_register_class_alias_exè¿ä¸¤ä¸ªå½æ°çæåä¸ä¸ªåæ°æ¯
TSRMLS_DCï¼èéTSRMLS_CC
é®é¢äºãext/mysqlnd/mysqlnd_result.c ä¸
mysqlnd_res::fetch_intoï¼ä¸åå§å return_valueï¼ä¸º
mysqlnd_array_init(return_value, mysqlnd_num_fields(result) *
2)ï¼ä¸ºä»ä¹å¨è¿åçç»æä¸æ¯ both
è¿éè¦ç¨ fields_count * 2?èä¸ç´æ¥fields_countï¼
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=64099&edit=1
Thread (4 messages)