summaryrefslogtreecommitdiff
path: root/sql/sql_partition.cc
diff options
context:
space:
mode:
authorMichael Widenius <monty@askmonty.org>2011-02-22 20:28:01 +0200
committerMichael Widenius <monty@askmonty.org>2011-02-22 20:28:01 +0200
commit988d263e2560b470fb263f37b13f77d5e48e693c (patch)
tree28ba57abada7b7aecd1730213f206f8d5486c4e8 /sql/sql_partition.cc
parent1392eba62a80ee303e13fd84b2fb78ce0dcffb34 (diff)
parent9c10b73b76434907ad7fb1e9a05ecab8b2473e30 (diff)
downloadmariadb-git-988d263e2560b470fb263f37b13f77d5e48e693c.tar.gz
Merge with main
Diffstat (limited to 'sql/sql_partition.cc')
-rw-r--r--sql/sql_partition.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/sql_partition.cc b/sql/sql_partition.cc
index ffa19ae0431..01fb0a299bf 100644
--- a/sql/sql_partition.cc
+++ b/sql/sql_partition.cc
@@ -1983,6 +1983,9 @@ static int add_partition_options(File fptr, partition_element *p_elem)
}
if (p_elem->part_comment)
err+= add_keyword_string(fptr, "COMMENT", TRUE, p_elem->part_comment);
+ if (p_elem->connect_string.length)
+ err+= add_keyword_string(fptr, "CONNECTION", TRUE,
+ p_elem->connect_string.str);
return err + add_engine(fptr,p_elem->engine_type);
}