diff options
| author | Frank M. Kromann <fmk@php.net> | 2001-01-04 17:29:50 +0000 |
|---|---|---|
| committer | Frank M. Kromann <fmk@php.net> | 2001-01-04 17:29:50 +0000 |
| commit | 2c3f424e01a23bb0d8d04dcec4f2bf6ce53eae66 (patch) | |
| tree | 6f4feb788ddbf63ee17a81250f59d0a5183c87bd /ext | |
| parent | 542fa4eacee3b546c9e7699e82e154272224ad3f (diff) | |
| download | php-git-2c3f424e01a23bb0d8d04dcec4f2bf6ce53eae66.tar.gz | |
Fixing wrong return value when executing statements not returning a record set.
Diffstat (limited to 'ext')
| -rw-r--r-- | ext/mssql/php_mssql.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mssql/php_mssql.c b/ext/mssql/php_mssql.c index 16c097f74a..2814d1c7ed 100644 --- a/ext/mssql/php_mssql.c +++ b/ext/mssql/php_mssql.c @@ -905,7 +905,7 @@ PHP_FUNCTION(mssql_query) num_fields = dbnumcols(mssql_ptr->link); if (num_fields <= 0) { - RETURN_FALSE; + RETURN_TRUE; } result = (mssql_result *) emalloc(sizeof(mssql_result)); |
