Lines Matching refs:db_conn
2559 odbc_connection *db_conn; in odbc_do_connect() local
2614 if (!odbc_sqlconnect(&db_conn, db, uid, pwd, cur_opt, 1)) { in odbc_do_connect()
2619 if (zend_register_persistent_resource(hashed_details, hashed_len, db_conn, le_pconn) == NULL) { in odbc_do_connect()
2620 free(db_conn); in odbc_do_connect()
2626 db_conn->res = zend_register_resource(db_conn, le_pconn); in odbc_do_connect()
2627 RETVAL_RES(db_conn->res); in odbc_do_connect()
2635 db_conn = (odbc_connection *)le->ptr; in odbc_do_connect()
2645 ret = SQLGetInfo(db_conn->hdbc, in odbc_do_connect()
2662 db_conn->res = zend_register_resource(db_conn, le_pconn); in odbc_do_connect()
2663 RETVAL_RES(db_conn->res); in odbc_do_connect()
2692 if (!odbc_sqlconnect(&db_conn, db, uid, pwd, cur_opt, 0)) { in odbc_do_connect()
2696 db_conn->res = zend_register_resource(db_conn, le_conn); in odbc_do_connect()
2697 RETVAL_RES(db_conn->res); in odbc_do_connect()