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
 [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-2020 The PHP Group
All rights reserved.
Last updated: Mon Nov 23 19:01:26 2020 UTC