diff options
author | unknown <msvensson@neptunus.(none)> | 2005-09-01 11:36:42 +0200 |
---|---|---|
committer | unknown <msvensson@neptunus.(none)> | 2005-09-01 11:36:42 +0200 |
commit | 74ea939fa2e4f83add96d0cee7020f8347f1bfae (patch) | |
tree | 51c7e201e0dc8d3ba270201e8d51472b0dd59df7 /sql/table.h | |
parent | d340c0f52b17f3dddd492d7ef366cfd62c86e297 (diff) | |
download | mariadb-git-74ea939fa2e4f83add96d0cee7020f8347f1bfae.tar.gz |
Bug10213 mysqldump crashes when dumping VIEWs
- Added testcase for this bug
- Check if compact view format can be used
- Clean up mysqld_show_create
mysql-test/r/mysqldump.result:
Updated test result
mysql-test/t/mysqldump.test:
Added testcase
sql/item.cc:
Check if compact format can be used
sql/sql_select.cc:
Check if compact format can be used
sql/sql_show.cc:
Cleanup of mysqld_show_create
-remove extra invocation of view_store_create_info
-Remove unused vars
-Remove unused codes
Check if compact show view format can be used
- if user has db of this view as current db
- if this view only references table inside it's own db
sql/table.h:
Add variable for compact_view_format indicator
Diffstat (limited to 'sql/table.h')
-rw-r--r-- | sql/table.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/table.h b/sql/table.h index 8bc4e01852f..54f7a5e3233 100644 --- a/sql/table.h +++ b/sql/table.h @@ -437,6 +437,7 @@ typedef struct st_table_list /* TRUE if this merged view contain auto_increment field */ bool contain_auto_increment; bool multitable_view; /* TRUE iff this is multitable view */ + bool compact_view_format; /* Use compact format for SHOW CREATE VIEW */ /* FRMTYPE_ERROR if any type is acceptable */ enum frm_type_enum required_type; char timestamp_buffer[20]; /* buffer for timestamp (19+1) */ |