Use zend_string for DBA exist handler

This commit is contained in:
George Peter Banyard 2021-11-07 01:20:06 +00:00
parent 0eb0f64455
commit cd98e46583
15 changed files with 29 additions and 28 deletions

View file

@ -912,7 +912,7 @@ PHP_FUNCTION(dba_exists)
}
}
RETVAL_BOOL(info->hnd->exists(info, ZSTR_VAL(key_str), ZSTR_LEN(key_str)) == SUCCESS);
RETVAL_BOOL(info->hnd->exists(info, key_str) == SUCCESS);
DBA_RELEASE_HT_KEY_CREATION();
}
/* }}} */