summaryrefslogtreecommitdiff
path: root/ext/dbx/dbx_mysql.c
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/dbx_mysql.c
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/dbx_mysql.c')
-rw-r--r--ext/dbx/dbx_mysql.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/dbx/dbx_mysql.c b/ext/dbx/dbx_mysql.c
index 1a4354dfe9..0d2d300424 100644
--- a/ext/dbx/dbx_mysql.c
+++ b/ext/dbx/dbx_mysql.c
@@ -174,7 +174,7 @@ int dbx_mysql_getcolumntype(zval ** rv, zval ** result_handle, long column_index
return 1;
}
-int dbx_mysql_getrow(zval ** rv, zval ** result_handle, INTERNAL_FUNCTION_PARAMETERS) {
+int dbx_mysql_getrow(zval ** rv, zval ** result_handle, long row_number, INTERNAL_FUNCTION_PARAMETERS) {
/*/ returns array[0..columncount-1] as strings on success or 0 as long on failure /*/
int number_of_arguments=2;
zval ** arguments[2];