Searched defs:le_plink (Results 1 - 2 of 2) sorted by relevance

/PHP_TRUNK/ext/mysql/
H A Dphp_mysql.c66 static int le_result, le_link, le_plink; variable
546 if (!(mysql = (php_mysql_conn *)zend_fetch_resource2(Z_RES_P(zv), "MySQL-Link", le_link, le_plink))) {
566 le_plink = zend_register_list_destructors_ex(NULL, _close_mysql_plink, "mysql link persistent", module_number);
645 if (le->type == le_plink) {
918 ZVAL_NEW_PERSISTENT_RES(&new_le, -1, mysql, le_plink);
932 if (le->type != le_plink) {
967 ZVAL_RES(return_value, zend_register_resource(mysql, le_plink));
985 if (link && (link->type == le_link || link->type == le_plink)) {
1112 if (!(mysql = (php_mysql_conn *)zend_fetch_resource2(Z_RES_P(mysql_link), "MySQL-Link", le_link, le_plink))) {
1117 zend_fetch_resource2_ex(NULL, "MySQL-Link", le_link, le_plink); /* trigge
[all...]
/PHP_TRUNK/ext/pgsql/
H A Dpgsql.c781 static int le_link, le_plink, le_result, le_lofp, le_string; variable
1001 if (rsrc->type != le_plink)
1111 le_plink = zend_register_list_destructors_ex(NULL, _close_pgsql_plink, "pgsql link persistent", module_number);
1366 new_le.type = le_plink;
1374 if (le->type != le_plink) {
1412 RETVAL_RES(zend_register_resource(pgsql, le_plink));
1430 if (link->ptr && (link->type == le_link || link->type == le_plink)) {
1535 if ((pgsql = (PGconn *)zend_fetch_resource2(Z_RES_P(pgsql_link), "PostgreSQL link", le_link, le_plink)) == NULL) {
1573 if ((pgsql = (PGconn *)zend_fetch_resource2(link, "PostgreSQL link", le_link, le_plink)) == NULL) {
1620 if ((pgsql = (PGconn *)zend_fetch_resource2(link, "PostgreSQL link", le_link, le_plink))
[all...]

Completed in 9 milliseconds