php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #34513 No function created
Submitted: 2005-09-15 16:05 UTC Modified: 2005-09-15 16:57 UTC
From: roberto at spadim dot com dot br Assigned:
Status: Not a bug Package: PDO related
PHP Version: 5.1.0RC1 OS: all
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.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: roberto at spadim dot com dot br
New email:
PHP Version: OS:

 

 [2005-09-15 16:05 UTC] roberto at spadim dot com dot br
Description:
------------
NO FUNCTION CAN BE CREATED ON SQLITE3! THERE ISN'T  A create_function OR create_aggregade LIKE SQLITE2 !! :(

Reproduce code:
---------------
nothing to reproduce

Expected result:
----------------
a function created to make queries like

PHP:
function sqlite_if($arg1,$arg2,$arg3){
  return($arg1?$arg2:$arg3);
}
create_function('if','sqlite_if',3)

SQLITE:
SELECT if(0=1, 'hellooo','ok')

RESULT:
'ok'

Actual result:
--------------
error - no function created

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 21:01:29 2024 UTC