This commit is contained in:
Antony Dovgal 2007-01-22 09:08:28 +00:00
parent b24fd9a3d6
commit a4ae84d014
2 changed files with 5 additions and 3 deletions

View File

@ -1117,7 +1117,7 @@ PHP_FUNCTION(ibase_query)
}
case 1:
case 0:
if (SUCCESS == zend_parse_parameters(ZEND_NUM_ARGS() ? 1 : 0 TSRMLS_CC, "s|z", &query,
if (SUCCESS == zend_parse_parameters(ZEND_NUM_ARGS() ? 1 : 0 TSRMLS_CC, "s", &query,
&query_len)) {
ZEND_FETCH_RESOURCE2(ib_link, ibase_db_link *, NULL, IBG(default_link), LE_LINK,
le_link, le_plink);

View File

@ -425,7 +425,8 @@ static void _php_ibase_backup_restore(INTERNAL_FUNCTION_PARAMETERS, char operati
*/
zval *res;
char *db, *bk, buf[200];
long dblen, bklen, spb_len, opts = 0;
int dblen, bklen, spb_len;
long opts = 0;
zend_bool verbose = 0;
ibase_service *svm;
@ -489,7 +490,8 @@ static void _php_ibase_service_action(INTERNAL_FUNCTION_PARAMETERS, char svc_act
{
zval *res;
char buf[128], *db;
long action, spb_len, dblen, argument = 0;
int dblen, spb_len;
long action, argument = 0;
ibase_service *svm;
RESET_ERRMSG;