com php-src: Fix bug #68260: NEWS ext/sqlite3/sqlite3.c
| From: | JulienPauli | Date: | Fri, 09 Jan 2015 15:24:14 +0000 |
| Subject: | com php-src: Fix bug #68260: NEWS ext/sqlite3/sqlite3.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-84043@lists.php.net to get a copy of this message | ||
Commit: dc810543cfaedd659a81507887e242a3680d5883
Author: Julien Pauli <jpauli@php.net> Fri, 9 Jan 2015 16:24:14 +0100
Parents: 8b0f10576113aa181429ce30fd16c8d90a914402
Branches: PHP-5.5
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=dc810543cfaedd659a81507887e242a3680d5883
Log:
Fix bug #68260
Bugs:
https://bugs.php.net/68260
Changed paths:
M NEWS
M ext/sqlite3/sqlite3.c
Diff:
diff --git a/NEWS b/NEWS
index 33fd5b3..b0df783 100644
--- a/NEWS
+++ b/NEWS
@@ -2,6 +2,9 @@ PHP NEWS
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
?? ??? 2014, PHP 5.5.22
+- Sqlite3:
+ . Fix bug #68260 (SQLite3Result::fetchArray declares wrong
+ required_num_args). (Julien)
22 Jan 2014, PHP 5.5.21
diff --git a/ext/sqlite3/sqlite3.c b/ext/sqlite3/sqlite3.c
index 21e5634..6153a35 100644
--- a/ext/sqlite3/sqlite3.c
+++ b/ext/sqlite3/sqlite3.c
@@ -1902,7 +1902,7 @@ ZEND_BEGIN_ARG_INFO_EX(arginfo_sqlite3result_columntype, 0, 0, 1)
ZEND_ARG_INFO(0, column_number)
ZEND_END_ARG_INFO()
-ZEND_BEGIN_ARG_INFO_EX(arginfo_sqlite3result_fetcharray, 0, 0, 1)
+ZEND_BEGIN_ARG_INFO_EX(arginfo_sqlite3result_fetcharray, 0, 0, 0)
ZEND_ARG_INFO(0, mode)
ZEND_END_ARG_INFO()