diff options
| author | Pierre Joye <pajoye@php.net> | 2009-03-24 09:44:16 +0000 |
|---|---|---|
| committer | Pierre Joye <pajoye@php.net> | 2009-03-24 09:44:16 +0000 |
| commit | 043ae0e0ee5cbf01c1dd87d71289fc2f096bfb3a (patch) | |
| tree | a9fd0fc40fc387cb9cdf82b0d15ca54e67a0c74e /ext/odbc/php_odbc.c | |
| parent | 868d7d81449daab792e6959cf1c3a5462ed62886 (diff) | |
| download | php-git-043ae0e0ee5cbf01c1dd87d71289fc2f096bfb3a.tar.gz | |
- fix logic after my build fix, thx to Hannes for the head up!
Diffstat (limited to 'ext/odbc/php_odbc.c')
| -rw-r--r-- | ext/odbc/php_odbc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/odbc/php_odbc.c b/ext/odbc/php_odbc.c index facd218a9f..896885085e 100644 --- a/ext/odbc/php_odbc.c +++ b/ext/odbc/php_odbc.c @@ -1631,7 +1631,7 @@ static void php_odbc_fetch_hash(INTERNAL_FUNCTION_PARAMETERS, int result_type) SQLUSMALLINT RowStatus[1]; SQLLEN rownum; zval *pv_res, *tmp; - long pv_row = 1; + long pv_row = -1; if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r|l", &pv_res, &pv_row) == FAILURE) { return; |
