1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Bug #17340 SHOW CREATE TABLE from second session crashes the server

- no check was made that ndb thd object was allocated
This commit is contained in:
tomas@poseidon.ndb.mysql.com
2006-02-13 21:55:49 +01:00
parent b04be2212f
commit efd6779c80
4 changed files with 7 additions and 7 deletions

View File

@ -1712,7 +1712,7 @@ public:
{ return FALSE; }
virtual char* get_foreign_key_create_info()
{ return(NULL);} /* gets foreign key create string from InnoDB */
virtual char* get_tablespace_name()
virtual char* get_tablespace_name(THD *thd)
{ return(NULL);} /* gets tablespace name from handler */
/* used in ALTER TABLE; 1 if changing storage engine is allowed */
virtual bool can_switch_engines() { return 1; }