Commit d711df11 authored by unknown's avatar unknown
Browse files

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
parent 7d074100
Loading
Loading
Loading
Loading
+3 −6
Original line number Diff line number Diff line
@@ -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);
}