php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #56960 sqliteCreateAggregate does not work
Submitted: 2006-04-17 05:56 UTC Modified: 2013-02-18 00:35 UTC
From: bad at nod dot cc Assigned:
Status: No Feedback Package: PDO_SQLITE (PECL)
PHP Version: 5.1.1 OS: Gentoo Linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: bad at nod dot cc
New email:
PHP Version: OS:

 

 [2006-04-17 05:56 UTC] bad at nod dot cc
Description:
------------
Using even the example from the PHP manual (/manual/en/function.pdo-sqlitecreateaggregate.php) returns null result instead of the expected result. 

I'm using PDO_SQLITE 1.0
Modules installed in my php configuration:
curl mbstring mysql pcntl soap sockets sysvmsg zlib odbc pdo pdo_sqlite pdo_odbc pdo_dblib




Reproduce code:
---------------
http://www.php.net/manual/en/function.pdo-sqlitecreateaggregate.php
(example on that page)

Expected result:
----------------
calculated max_len

Actual result:
--------------
NULL

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-04-21 09:46 UTC] bad at nod dot cc
Seems the problem is step_func having the behaviour changed from the way it was with sqlite_create_aggregate but the documentation and example don't reflect the new behaviour :(
 [2006-04-29 21:54 UTC] wez@php.net
Can you clarify exactly what you're doing and why you think the results are wrong?
Is this just a case of bad documentation?  If so, what's wrong with it?

Thanks!
 [2013-02-18 00:35 UTC] pecl-dev at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sat Jun 19 16:01:23 2021 UTC