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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
49 + 14 = ?
Subscribe to this entry?

 
 [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: Thu Apr 25 06:01:35 2024 UTC