Bug #12547 [NEW]: maxdb_stmt: method close_long_result missing
| From: | mail at daniel-berlin dot de | Date: | Thu, 29 Nov 2007 09:18:13 +0000 |
| Subject: | Bug #12547 [NEW]: maxdb_stmt: method close_long_result missing | ||
| Groups: | php.pear.webmaster | ||
| Request: | Send a blank email to pear-webmaster+get-6090@lists.php.net to get a copy of this message | ||
From: mail at daniel-berlin dot de
Operating system: Linux
Package version:
PHP version: 5.2.1
Package: Bug System
Bug Type: Bug
Bug description: maxdb_stmt: method close_long_result missing
Description:
------------
The close_long_data method of the maxdb_stmt
object is missing.
Reproduce code:
---------------
$q = $maxdb->stmt_init();
$q->prepare("...");
$q->bind_param("...", array(...));
$q->execute()
$q->send_long_data(2, "...");
$q->close_long_data(2);
-----------------------
Fix:
--- maxdb-7.6.00.38/php_maxdb.c 2007-04-20 13:11:08.000000000 +0200
+++ maxdb/php_maxdb.c 2007-11-29 10:03:01.000000000 +0100
@@ -417,6 +417,7 @@
PHP_FALIAS(result_metadata, maxdb_stmt_result_metadata,NULL)
PHP_FALIAS(num_rows, maxdb_stmt_num_rows,NULL)
PHP_FALIAS(send_long_data,maxdb_stmt_send_long_data,NULL)
+ PHP_FALIAS(close_long_data,maxdb_stmt_close_long_data,NULL)
PHP_FALIAS(stmt,maxdb_prepare,NULL)
PHP_FALIAS(free_result,maxdb_stmt_free_result,NULL)
PHP_FALIAS(reset,maxdb_stmt_reset,NULL)
Actual result:
--------------
PHP Fatal error: Call to undefined method maxdb_stmt::close_long_data()
in /srv/www/htdocs/...
--
Edit bug report at http://pecl.php.net/bugs/bug.php?id=12547&edit=1
--