206
206
assert(table->s == table_share);
207
207
assert(alloc_root_inited(&table->mem_root));
211
211
if ((error == EACCES || error == EROFS) && mode == O_RDWR &&
214
214
table->db_stat|=HA_READ_ONLY;
215
215
error=open(name,O_RDONLY,test_if_locked);