summaryrefslogtreecommitdiff
path: root/ext/dbx/php_dbx.h
diff options
context:
space:
mode:
authorMarc Boeren <mboeren@php.net>2001-03-23 14:50:17 +0000
committerMarc Boeren <mboeren@php.net>2001-03-23 14:50:17 +0000
commit1a842c4ae667ba185f0166d58068678121ed6bdb (patch)
tree573d1f3533b371a061c8970987e3aab098acca6c /ext/dbx/php_dbx.h
parent2b2484dd3d7afad942308ebc6f1cfecc80dee045 (diff)
downloadphp-git-1a842c4ae667ba185f0166d58068678121ed6bdb.tar.gz
Fixed compile errors for PostgreSQL support (Mc)
Removed globals that Rui put in, and changed the dbx_get_row to include a row_number (which PostgreSQL expects) (Mc) Added source files to Makefile.in and dbx.dsp (Mc) #Could someone please check if the PostgreSQL support works? #And please, check your work _before_ you commit anything!
Diffstat (limited to 'ext/dbx/php_dbx.h')
-rw-r--r--ext/dbx/php_dbx.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/dbx/php_dbx.h b/ext/dbx/php_dbx.h
index cb6a8acdcc..6240b953fc 100644
--- a/ext/dbx/php_dbx.h
+++ b/ext/dbx/php_dbx.h
@@ -58,11 +58,12 @@ ZEND_FUNCTION(dbx_test);
Declare any global variables you may need between the BEGIN
and END macros here:
*/
+/*
ZEND_BEGIN_MODULE_GLOBALS(dbx)
int row_count;
int num_rows;
ZEND_END_MODULE_GLOBALS(dbx)
-
+*/
/* In every function that needs to use variables in php_dbx_globals,
do call dbxLS_FETCH(); after declaring other variables used by
that function, and always refer to them as dbxG(variable).