1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-24 11:21:21 +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

@@ -1138,7 +1138,7 @@ store_create_info(THD *thd, TABLE_LIST *table_list, String *packet,
to the CREATE TABLE statement
*/
if ((for_str= file->get_tablespace_name()))
if ((for_str= file->get_tablespace_name(thd)))
{
packet->append(" TABLESPACE ");
packet->append(for_str, strlen(for_str));