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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
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: Wed May 12 11:01:25 2021 UTC