340
340
que_thr_t* thr, /*!< in: query thread */
341
341
mtr_t* mtr); /*!< in/out: mini-transaction */
342
342
/*********************************************************************//**
345
@return DB_SUCCESS, DB_SUCCESS_LOCKED_REC, DB_LOCK_WAIT, DB_DEADLOCK,
345
@return DB_SUCCESS, DB_LOCK_WAIT, DB_DEADLOCK, or DB_QUE_THR_SUSPENDED */
349
348
lock_sec_rec_read_check_and_lock(
350
349
/*=============================*/
351
350
ulint flags, /*!< in: if BTR_NO_LOCKING_FLAG