summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkostja@bodhi.(none) <>2007-08-08 14:02:07 +0400
committerkostja@bodhi.(none) <>2007-08-08 14:02:07 +0400
commita3b210d408978b8932719a56753f8d42c1bfbac0 (patch)
tree375444ff51da5313fa9a953054832bce6a121d76
parentb4eb961fefd83de35a296e429b4b2b5a522d18e9 (diff)
downloadmariadb-git-a3b210d408978b8932719a56753f8d42c1bfbac0.tar.gz
Apply patch for Bug#27806 table comments not passed in to storage engine
during "CREATE ... LIKE ..." Only affects engine writers. No change in server behaviour.
-rw-r--r--sql/table.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/table.cc b/sql/table.cc
index 12fffe1dde7..27f9ccc418e 100644
--- a/sql/table.cc
+++ b/sql/table.cc
@@ -2484,6 +2484,7 @@ void update_create_info_from_table(HA_CREATE_INFO *create_info, TABLE *table)
create_info->row_type= share->row_type;
create_info->default_table_charset= share->table_charset;
create_info->table_charset= 0;
+ create_info->comment= share->comment;
DBUG_VOID_RETURN;
}