summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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));