From: Wez Furlong Date: Thu, 17 Apr 2003 03:15:13 +0000 (+0000) Subject: Update TODO and example. X-Git-Tag: RELEASE_0_5~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1c3b2a28d178da43306cd6b2b97e1012687178e0;p=php Update TODO and example. Hide phpize crap from CVS --- diff --git a/ext/sqlite/TODO b/ext/sqlite/TODO index 40f93467d8..194a75bce8 100644 --- a/ext/sqlite/TODO +++ b/ext/sqlite/TODO @@ -1,4 +1,4 @@ -- Implement a generic php function handler for use in SQL statements and +- Implement an aggregating php function handler for use in SQL statements and triggers etc. - Make a release diff --git a/ext/sqlite/sqlite.php b/ext/sqlite/sqlite.php index 40ba9d2195..ef17ae9b06 100644 --- a/ext/sqlite/sqlite.php +++ b/ext/sqlite/sqlite.php @@ -9,8 +9,8 @@ $s = sqlite_open("weztest.sqlite", 0666, $err); debug_zval_dump($err); debug_zval_dump($s); -$r = sqlite_query("create table foo (a INTEGER PRIMARY KEY, b INTEGER )", $s); -$r = sqlite_query("select * from sqlite_master", $s); +//$r = sqlite_query("create table foo (a INTEGER PRIMARY KEY, b INTEGER )", $s); +$r = sqlite_query("select *, php('md5', sql) as o from sqlite_master", $s); debug_zval_dump($r); debug_zval_dump(sqlite_num_rows($r)); debug_zval_dump(sqlite_num_fields($r));