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

sql_show.cc, handler.h, handler.cc:

Add foreign key defs to SHOW CREATE TABLE
This commit is contained in:
heikki@hundin.mysql.fi
2002-03-21 18:05:46 +02:00
parent e90a57aa49
commit 1f142262a1
3 changed files with 18 additions and 5 deletions

View File

@ -294,7 +294,9 @@ public:
virtual char *update_table_comment(const char * comment)
{ return (char*) comment;}
virtual void append_create_info(String *packet) {}
virtual char* get_foreign_key_create_info()
{ return(NULL);} /* gets foreign key create string from InnoDB */
virtual void free_foreign_key_create_info(char* str) {}
/* The following can be called without an open handler */
virtual const char *table_type() const =0;
virtual const char **bas_ext() const =0;