Lines Matching refs:upsert_status
47 MYSQLND_METHOD(mysqlnd_upsert_status, reset)(MYSQLND_UPSERT_STATUS * const upsert_status) in MYSQLND_METHOD()
49 upsert_status->warning_count = 0; in MYSQLND_METHOD()
50 upsert_status->server_status = 0; in MYSQLND_METHOD()
51 upsert_status->affected_rows = 0; in MYSQLND_METHOD()
52 upsert_status->last_insert_id = 0; in MYSQLND_METHOD()
59 …ND_METHOD(mysqlnd_upsert_status, set_affected_rows_to_error)(MYSQLND_UPSERT_STATUS * upsert_status) in MYSQLND_METHOD()
61 upsert_status->affected_rows = (uint64_t) ~0; in MYSQLND_METHOD()
74 mysqlnd_upsert_status_init(MYSQLND_UPSERT_STATUS * const upsert_status) in mysqlnd_upsert_status_init() argument
76 upsert_status->m = &MYSQLND_CLASS_METHOD_TABLE_NAME(mysqlnd_upsert_status); in mysqlnd_upsert_status_init()
77 upsert_status->m->reset(upsert_status); in mysqlnd_upsert_status_init()
619 UPSERT_STATUS_SET_AFFECTED_ROWS_TO_ERROR(conn->upsert_status);
862 …if (conn->last_query_type == QUERY_UPSERT && UPSERT_STATUS_GET_AFFECTED_ROWS(conn->upsert_status))…
863 …ALUE(conn->stats, STAT_ROWS_AFFECTED_NORMAL, UPSERT_STATUS_GET_AFFECTED_ROWS(conn->upsert_status));
882 DBG_INF_FMT("conn->server_status=%u", UPSERT_STATUS_GET_SERVER_STATUS(conn->upsert_status));
897 DBG_INF_FMT("conn->server_status=%u", UPSERT_STATUS_GET_SERVER_STATUS(conn->upsert_status));
912 DBG_INF_FMT("conn->server_status=%u", UPSERT_STATUS_GET_SERVER_STATUS(conn->upsert_status));
925 DBG_INF_FMT("conn->server_status=%u", UPSERT_STATUS_GET_SERVER_STATUS(conn->upsert_status));
1042 DBG_INF_FMT("server_status=%u", UPSERT_STATUS_GET_SERVER_STATUS(conn->upsert_status));
1043 if (UPSERT_STATUS_GET_SERVER_STATUS(conn->upsert_status) & SERVER_STATUS_NO_BACKSLASH_ESCAPES) {
1374 return UPSERT_STATUS_GET_SERVER_STATUS(conn->upsert_status);
1383 return UPSERT_STATUS_GET_LAST_INSERT_ID(conn->upsert_status);
1392 return UPSERT_STATUS_GET_AFFECTED_ROWS(conn->upsert_status);
1401 return UPSERT_STATUS_GET_WARNINGS(conn->upsert_status);
1504 …DBG_RETURN(UPSERT_STATUS_GET_SERVER_STATUS(conn->upsert_status) & SERVER_MORE_RESULTS_EXISTS? TRUE…
1526 UPSERT_STATUS_SET_AFFECTED_ROWS_TO_ERROR(conn->upsert_status);
1546 …if (conn->last_query_type == QUERY_UPSERT && UPSERT_STATUS_GET_AFFECTED_ROWS(conn->upsert_status))…
1547 …ALUE(conn->stats, STAT_ROWS_AFFECTED_NORMAL, UPSERT_STATUS_GET_AFFECTED_ROWS(conn->upsert_status));
1633 UPSERT_STATUS_SET_AFFECTED_ROWS_TO_ERROR(conn->upsert_status);