summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWez Furlong <wez@php.net>2003-04-17 03:15:13 +0000
committerWez Furlong <wez@php.net>2003-04-17 03:15:13 +0000
commit1c3b2a28d178da43306cd6b2b97e1012687178e0 (patch)
treee21e3d2a258ee9d1dc8263c9c9a2eb8e7e419f11
parentc73e304dc25c44a45505f60450f788fac773ac61 (diff)
downloadphp-git-1c3b2a28d178da43306cd6b2b97e1012687178e0.tar.gz
Update TODO and example.
Hide phpize crap from CVS
-rw-r--r--ext/sqlite/TODO2
-rw-r--r--ext/sqlite/sqlite.php4
2 files changed, 3 insertions, 3 deletions
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));