實施基本的表掃描功能 |
發布時間: 2012/8/23 17:24:00 |
最基本的存儲引擎能實現只讀表掃描功能。這類引擎可用于支持SQL日志查詢、以及在MySQL之外填充的其他數據文件。
本節介紹的方法實施提供了創建更高級存儲引擎的基礎。 下面給出了在CSV引擎的9行表掃描過程中進行的方法調用:
ha_tina::store_lock ha_tina::external_lock ha_tina::info ha_tina::rnd_init ha_tina::extra - ENUM HA_EXTRA_CACHE Cache record in HA_rrnd() ha_tina::rnd_next ha_tina::rnd_next ha_tina::rnd_next ha_tina::rnd_next ha_tina::rnd_next ha_tina::rnd_next ha_tina::rnd_next ha_tina::rnd_next ha_tina::rnd_next ha_tina::extra - ENUM HA_EXTRA_NO_CACHE End cacheing of records (def) ha_tina::external_lock ha_tina::extra - ENUM HA_EXTRA_RESET Reset database to after open 本文出自:億恩科技【www.endtimedelusion.com】 |