Lines Matching refs:upsert_status
45 MYSQLND_METHOD(mysqlnd_upsert_status, reset)(MYSQLND_UPSERT_STATUS * const upsert_status) in MYSQLND_METHOD()
47 upsert_status->warning_count = 0; in MYSQLND_METHOD()
48 upsert_status->server_status = 0; in MYSQLND_METHOD()
49 upsert_status->affected_rows = 0; in MYSQLND_METHOD()
50 upsert_status->last_insert_id = 0; in MYSQLND_METHOD()
57 …ND_METHOD(mysqlnd_upsert_status, set_affected_rows_to_error)(MYSQLND_UPSERT_STATUS * upsert_status) in MYSQLND_METHOD()
59 upsert_status->affected_rows = (uint64_t) ~0; in MYSQLND_METHOD()
72 mysqlnd_upsert_status_init(MYSQLND_UPSERT_STATUS * const upsert_status) in mysqlnd_upsert_status_init() argument
74 upsert_status->m = &MYSQLND_CLASS_METHOD_TABLE_NAME(mysqlnd_upsert_status); in mysqlnd_upsert_status_init()
75 upsert_status->m->reset(upsert_status); in mysqlnd_upsert_status_init()
576 UPSERT_STATUS_SET_AFFECTED_ROWS_TO_ERROR(conn->upsert_status);
789 …if (conn->last_query_type == QUERY_UPSERT && UPSERT_STATUS_GET_AFFECTED_ROWS(conn->upsert_status))…
790 …ALUE(conn->stats, STAT_ROWS_AFFECTED_NORMAL, UPSERT_STATUS_GET_AFFECTED_ROWS(conn->upsert_status));
806 DBG_INF_FMT("conn->server_status=%u", UPSERT_STATUS_GET_SERVER_STATUS(conn->upsert_status));
810 DBG_INF_FMT("conn->server_status=%u", UPSERT_STATUS_GET_SERVER_STATUS(conn->upsert_status));
823 DBG_INF_FMT("conn->server_status=%u", UPSERT_STATUS_GET_SERVER_STATUS(conn->upsert_status));
825 DBG_INF_FMT("conn->server_status=%u", UPSERT_STATUS_GET_SERVER_STATUS(conn->upsert_status));
931 DBG_INF_FMT("server_status=%u", UPSERT_STATUS_GET_SERVER_STATUS(conn->upsert_status));
932 if (UPSERT_STATUS_GET_SERVER_STATUS(conn->upsert_status) & SERVER_STATUS_NO_BACKSLASH_ESCAPES) {
1158 return UPSERT_STATUS_GET_SERVER_STATUS(conn->upsert_status);
1167 return UPSERT_STATUS_GET_LAST_INSERT_ID(conn->upsert_status);
1176 return UPSERT_STATUS_GET_AFFECTED_ROWS(conn->upsert_status);
1185 return UPSERT_STATUS_GET_WARNINGS(conn->upsert_status);
1288 …DBG_RETURN(UPSERT_STATUS_GET_SERVER_STATUS(conn->upsert_status) & SERVER_MORE_RESULTS_EXISTS? TRUE…
1306 UPSERT_STATUS_SET_AFFECTED_ROWS_TO_ERROR(conn->upsert_status);
1327 …if (conn->last_query_type == QUERY_UPSERT && UPSERT_STATUS_GET_AFFECTED_ROWS(conn->upsert_status))…
1328 …ALUE(conn->stats, STAT_ROWS_AFFECTED_NORMAL, UPSERT_STATUS_GET_AFFECTED_ROWS(conn->upsert_status));
1352 UPSERT_STATUS_SET_AFFECTED_ROWS_TO_ERROR(conn->upsert_status);