diff options
author | unknown <heikki@hundin.mysql.fi> | 2004-11-16 22:49:28 +0200 |
---|---|---|
committer | unknown <heikki@hundin.mysql.fi> | 2004-11-16 22:49:28 +0200 |
commit | d711df11f558547b2351097cc8cc7e8b2d2b7344 (patch) | |
tree | be6b858df7a04f961a763b1f435f6f21c23264a0 /sql/ha_innodb.cc | |
parent | 7d074100d34faca504e95e68bd89da4012cd9d4d (diff) | |
download | mariadb-git-d711df11f558547b2351097cc8cc7e8b2d2b7344.tar.gz |
ha_innodb.cc:
Anthony's http://lists.mysql.com/internals/18505 patch for DROP DATABASE broke caused it to return errno if .ibd files were present (bas_ext() was obsolete in ha_innodb.cc); fix this
sql/ha_innodb.cc:
Anthony's http://lists.mysql.com/internals/18505 patch for DROP DATABASE broke caused it to return errno if .ibd files were present (bas_ext() was obsolete in ha_innodb.cc); fix this
Diffstat (limited to 'sql/ha_innodb.cc')
-rw-r--r-- | sql/ha_innodb.cc | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/sql/ha_innodb.cc b/sql/ha_innodb.cc index 8e9e5fd9ed0..07d8da63733 100644 --- a/sql/ha_innodb.cc +++ b/sql/ha_innodb.cc @@ -1505,17 +1505,14 @@ innobase_close_connection( *****************************************************************************/ /******************************************************************** -This function is not relevant since we store the tables and indexes -into our own tablespace, not as files, whose extension this function would -give. */ +Gives the file extension of an InnoDB single-table tablespace. */ const char** ha_innobase::bas_ext() const /*========================*/ - /* out: file extension strings, currently not - used */ + /* out: file extension string */ { - static const char* ext[] = {".InnoDB", NullS}; + static const char* ext[] = {".ibd", NullS}; return(ext); } |