488
515
TableShare share(identifier.getSchemaName().c_str(), 0, identifier.getTableName().c_str(), identifier.getPath().c_str());
489
516
message::Table tmp_proto;
491
if (parse_table_proto(session, table_message, &share) || open_table_from_share(&session, &share, "", 0, 0, &table))
518
if (share.parse_table_proto(session, table_message) || share.open_table_from_share(&session, "", 0, 0, table))
493
520
// @note Error occured, we should probably do a little more here.
500
524
/* Check for legal operations against the Engine using the proto (if used) */
501
525
if (table_message.type() == message::Table::TEMPORARY &&
502
526
share.storage_engine->check_flag(HTON_BIT_TEMPORARY_NOT_SUPPORTED) == true)