aharvey Tue, 10 May 2011 08:14:55 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=310877
Log: Fix bug #54692 (SQLite3::open() Return Value) by correcting the SQLite3::open() prototype. Bug: http://bugs.php.net/54692 (Assigned) SQLite3::open() Return Value Changed paths: U php/php-src/branches/PHP_5_3/ext/sqlite3/sqlite3.c U php/php-src/trunk/ext/sqlite3/sqlite3.c Modified: php/php-src/branches/PHP_5_3/ext/sqlite3/sqlite3.c =================================================================== --- php/php-src/branches/PHP_5_3/ext/sqlite3/sqlite3.c 2011-05-10 07:15:22 UTC (rev 310876) +++ php/php-src/branches/PHP_5_3/ext/sqlite3/sqlite3.c 2011-05-10 08:14:55 UTC (rev 310877) @@ -89,7 +89,7 @@ zend_class_entry *php_sqlite3_stmt_entry; zend_class_entry *php_sqlite3_result_entry; -/* {{{ proto bool SQLite3::open(String filename [, int Flags [, string Encryption Key]]) +/* {{{ proto void SQLite3::open(String filename [, int Flags [, string Encryption Key]]) Opens a SQLite 3 Database, if the build includes encryption then it will attempt to use the key. */ PHP_METHOD(sqlite3, open) { Modified: php/php-src/trunk/ext/sqlite3/sqlite3.c =================================================================== --- php/php-src/trunk/ext/sqlite3/sqlite3.c 2011-05-10 07:15:22 UTC (rev 310876) +++ php/php-src/trunk/ext/sqlite3/sqlite3.c 2011-05-10 08:14:55 UTC (rev 310877) @@ -89,7 +89,7 @@ zend_class_entry *php_sqlite3_stmt_entry; zend_class_entry *php_sqlite3_result_entry; -/* {{{ proto bool SQLite3::open(String filename [, int Flags [, string Encryption Key]]) +/* {{{ proto void SQLite3::open(String filename [, int Flags [, string Encryption Key]]) Opens a SQLite 3 Database, if the build includes encryption then it will attempt to use the key. */ PHP_METHOD(sqlite3, open) {
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php