Lines Matching refs:ib_link
1071 ibase_db_link *ib_link = NULL; in PHP_FUNCTION() local
1087 ib_link = (ibase_db_link*)zend_fetch_resource2_ex(zlink, LE_LINK, le_link, le_plink); in PHP_FUNCTION()
1097 _php_ibase_get_link_trans(INTERNAL_FUNCTION_PARAM_PASSTHRU, zlink, &ib_link, &trans); in PHP_FUNCTION()
1132 ib_link = (ibase_db_link *) emalloc(sizeof(ibase_db_link)); in PHP_FUNCTION()
1133 ib_link->handle = db; in PHP_FUNCTION()
1134 ib_link->dialect = SQL_DIALECT_CURRENT; in PHP_FUNCTION()
1135 ib_link->tr_list = NULL; in PHP_FUNCTION()
1136 ib_link->event_head = NULL; in PHP_FUNCTION()
1138 RETVAL_RES(zend_register_resource(ib_link, le_link)); in PHP_FUNCTION()
1149 ib_link = (ibase_db_link *)zend_fetch_resource2(IBG(default_link), LE_LINK, le_link, le_plink); in PHP_FUNCTION()
1158 if (ib_link == NULL || FAILURE == _php_ibase_def_trans(ib_link, &trans) in PHP_FUNCTION()
1159 …|| FAILURE == _php_ibase_alloc_query(&ib_query, ib_link, trans, query, ib_link->dialect, trans_res… in PHP_FUNCTION()
1206 ibase_db_link *ib_link; in PHP_FUNCTION() local
1216 ib_link = (ibase_db_link *)zend_fetch_resource2(IBG(default_link), LE_LINK, le_link, le_plink); in PHP_FUNCTION()
1217 if (ib_link->tr_list == NULL || ib_link->tr_list->trans == NULL) { in PHP_FUNCTION()
1220 trans = ib_link->tr_list->trans; in PHP_FUNCTION()
1223 _php_ibase_get_link_trans(INTERNAL_FUNCTION_PARAM_PASSTHRU, arg, &ib_link, &trans); in PHP_FUNCTION()
1225 ib_link = (ibase_db_link *)zend_fetch_resource2_ex(arg, LE_LINK, le_link, le_plink); in PHP_FUNCTION()
1227 if (ib_link->tr_list == NULL || ib_link->tr_list->trans == NULL) { in PHP_FUNCTION()
1230 trans = ib_link->tr_list->trans; in PHP_FUNCTION()
1734 ibase_db_link *ib_link; in PHP_FUNCTION() local
1747 ib_link = (ibase_db_link *)zend_fetch_resource2(IBG(default_link), LE_LINK, le_link, le_plink); in PHP_FUNCTION()
1752 _php_ibase_get_link_trans(INTERNAL_FUNCTION_PARAM_PASSTHRU, link_arg, &ib_link, &trans); in PHP_FUNCTION()
1761 ib_link = (ibase_db_link *)zend_fetch_resource2_ex(link_arg, LE_LINK, le_link, le_plink); in PHP_FUNCTION()
1766 if (FAILURE == _php_ibase_def_trans(ib_link, &trans)) { in PHP_FUNCTION()
1772 …if (FAILURE == _php_ibase_alloc_query(ib_query, ib_link, trans, query, ib_link->dialect, trans_res… in PHP_FUNCTION()