]> granicus.if.org Git - php/commitdiff
Fix possible build error under Windows.
authorYasuo Ohgaki <yohgaki@php.net>
Mon, 11 Mar 2002 07:09:12 +0000 (07:09 +0000)
committerYasuo Ohgaki <yohgaki@php.net>
Mon, 11 Mar 2002 07:09:12 +0000 (07:09 +0000)
# Recent libpq under windows supports PQcmdTuples, right?

ext/pgsql/pgsql.c

index 6e6e5ced5f4d289b79dc7deb5756a066e3b9cdf0..82acc88f0cf80a21cf34063c15fd043ace2ac7d7 100644 (file)
@@ -916,7 +916,7 @@ static void php_pgsql_get_result_info(INTERNAL_FUNCTION_PARAMETERS, int entry_ty
                        Z_LVAL_P(return_value) = atoi(PQcmdTuples(pgsql_result));
 #else
                        php_error(E_WARNING,"This compilation does not support %s()",
-                                         get_active_function_name(TSRMLS_C);
+                                         get_active_function_name(TSRMLS_C));
                        Z_LVAL_P(return_value) = 0;
 #endif
                        break;