国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 學(xué)院 > 開發(fā)設(shè)計 > 正文

kernel_mutex--mysql5.5.18

2019-11-09 13:40:44
字體:
供稿:網(wǎng)友

MySQL innodb中,隨處可見的kernel_mutex。全局鎖,事務(wù)開始的一段代碼段 /trx/trx0trx.c 中 trx_start()函數(shù)

/****************************************************************//**Starts a new transaction.@return    TRUE */UNIV_INTERNibooltrx_start(/*======*/    trx_t*    trx,    /*!< in: transaction */    ulint    rseg_id)/*!< in: rollback segment id; if ULINT_UNDEFINED            is passed, the system chooses the rollback segment            automatically in a round-robin fashion */{    ibool    ret;    /* Update the info whether we should skip XA steps that eat CPU time    For the duration of the transaction trx->support_xa is not reread    from thd so any changes in the value take effect in the next    transaction. This is to avoid a scenario where some undo    generated by a transaction, has XA stuff, and other undo,    generated by the same transaction, doesn't. */    trx->support_xa = thd_supports_xa(trx->mysql_thd);    mutex_enter(&kernel_mutex);    ret = trx_start_low(trx, rseg_id);    mutex_exit(&kernel_mutex);    return(ret);}

http://blog.csdn.net/zhaiwx1987/article/details/7108610


發(fā)表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發(fā)表
主站蜘蛛池模板: 阿瓦提县| 綦江县| 云霄县| 泰和县| 珠海市| 黄梅县| 旺苍县| 禹州市| 门源| 禹州市| 云阳县| 乌拉特前旗| 瑞金市| 略阳县| 东乌珠穆沁旗| 连南| 铁力市| 金门县| 德惠市| 河曲县| 涿州市| 海晏县| 文山县| 连平县| 合肥市| 荃湾区| 永春县| 海林市| 天等县| 霍州市| 阳新县| 乌鲁木齐市| 江陵县| 武隆县| 平山县| 万山特区| 衡阳市| 绥阳县| 丹寨县| 凤山县| 辽宁省|