summaryrefslogtreecommitdiff
path: root/ext/dba/dba_db4.c
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2002-12-30 13:07:30 +0000
committerMarcus Boerger <helly@php.net>2002-12-30 13:07:30 +0000
commit4d2f7207c04a6377699cb96a7946cde3662c51fe (patch)
tree991d8a9236c178eeb497c2a58a56ff37c0cfcca8 /ext/dba/dba_db4.c
parent426cf8eb5712f10e84a16f1cbb127c1aaa045d9c (diff)
downloadphp-git-4d2f7207c04a6377699cb96a7946cde3662c51fe.tar.gz
Add info function to handlers and return handler info when dba_handlers is
called with optional parameter full_info set true.
Diffstat (limited to 'ext/dba/dba_db4.c')
-rw-r--r--ext/dba/dba_db4.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/ext/dba/dba_db4.c b/ext/dba/dba_db4.c
index 5de50df2c7..3f4c6ef857 100644
--- a/ext/dba/dba_db4.c
+++ b/ext/dba/dba_db4.c
@@ -217,6 +217,11 @@ DBA_SYNC_FUNC(db4)
return dba->dbp->sync(dba->dbp, 0) ? FAILURE : SUCCESS;
}
+DBA_INFO_FUNC(db4)
+{
+ return estrdup(DB_VERSION_STRING);
+}
+
#endif
/*