From 1a842c4ae667ba185f0166d58068678121ed6bdb Mon Sep 17 00:00:00 2001 From: Marc Boeren Date: Fri, 23 Mar 2001 14:50:17 +0000 Subject: 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! --- ext/dbx/dbx_mysql.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/dbx/dbx_mysql.c') 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]; -- cgit v1.2.1