Lines Matching refs:db_conn
2581 odbc_connection *db_conn; in odbc_do_connect() local
2638 if (!odbc_sqlconnect(&db_conn, db, uid, pwd, cur_opt, 1)) { in odbc_do_connect()
2644 new_le.ptr = db_conn; in odbc_do_connect()
2648 free(db_conn); in odbc_do_connect()
2654 db_conn->res = zend_register_resource(db_conn, le_pconn); in odbc_do_connect()
2655 RETVAL_RES(db_conn->res); in odbc_do_connect()
2663 db_conn = (odbc_connection *)le->ptr; in odbc_do_connect()
2673 ret = SQLGetInfo(db_conn->hdbc, in odbc_do_connect()
2690 db_conn->res = zend_register_resource(db_conn, le_pconn); in odbc_do_connect()
2691 RETVAL_RES(db_conn->res); in odbc_do_connect()
2720 if (!odbc_sqlconnect(&db_conn, db, uid, pwd, cur_opt, 0)) { in odbc_do_connect()
2724 db_conn->res = zend_register_resource(db_conn, le_conn); in odbc_do_connect()
2725 RETVAL_RES(db_conn->res); in odbc_do_connect()