From: Zardosht Kasheff Date: September 7 2009 3:38pm Subject: determining type of tablespace call in InnoDB List-Archive: http://lists.mysql.com/internals/37288 Message-Id: <2f9663ba0909070838k30c0ae72g3a7eb5a6605f6b53@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Hello, For InnoDB, is it possible to determine what type of tablespace operation (import tablespace or discard tablespace) is occurring during a call to handler::open. I realize that thd_tablespace_op(thd) determines if it is a tablespace operation, but is it possible to get the specific type? I also realize that a bool will tell me in handler::discard_or_import_tablespace, but I was wondering if it is possible to determine this in handler::open. Thanks -Zardosht