#34513 [Opn->Bgs]: No function created
ID: 34513
Updated by: sniper@php.net
Reported By: roberto at spadim dot com dot br
-Status: Open
+Status: Bogus
Bug Type: PDO related
Operating System: all
PHP Version: 5.1.0RC1
New Comment:
RTFM: http://docs.php.net/en/ref.pdo-sqlite.html
Previous Comments:
------------------------------------------------------------------------
[2005-09-15 16:05:34] 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
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=34513&edit=1
Thread (2 messages)