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
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: 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-2021 The PHP Group
All rights reserved.
Last updated: Mon Apr 19 04:01:23 2021 UTC