Hi Stewart,
I looked into the droptable part.
And as you suggested to implement
rm_table_part2(Session *session, vector<identifier::Table>
table_identifiers, bool if_exists, bool drop_temporary).
But here is few cases , I need to know:
if (not drop_temporary && session->lock_table_names_exclusively(tables))
{
return 1;
}
Here tables: TableList type. I checked that locking part into
/drizzled/locking/global.cc:758
I dont think there is a way to create a TableList with identifiers.
And other part can be possible with that frm_table function with the help
of identifiers.
And for droping temporary table , identifiers are diferent from standard or
Internal table.
In sql_table.cc:129 , tmp_identifier is for droping tmp tables. then a
identifier is created for normal ones.
--
Mohyt
_______________________________________________
Mailing list: https://launchpad.net/~drizzle-discuss
Post to : [email protected]
Unsubscribe : https://launchpad.net/~drizzle-discuss
More help : https://help.launchpad.net/ListHelp