|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-09-15 16:57 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Nov 03 07:00:01 2025 UTC |
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