diff options
author | Igor Babaev <igor@askmonty.org> | 2012-12-20 10:58:40 -0800 |
---|---|---|
committer | Igor Babaev <igor@askmonty.org> | 2012-12-20 10:58:40 -0800 |
commit | ca2cdaad86750509764256ff8086e031b4870b24 (patch) | |
tree | bda13b02b556072c72a247b2c6f13f2ec9722ffe /sql/ha_partition.cc | |
parent | 6c3de76ad5cb8683ab8b049e0bbba670115d304a (diff) | |
download | mariadb-git-ca2cdaad86750509764256ff8086e031b4870b24.tar.gz |
The patch for the task mdev-539.
The patch lifts the limitation of the current implementation
of ALTER TABLE that does not allow to build unique/primary
indexes by sort for MyISAM and Aria engines.
Diffstat (limited to 'sql/ha_partition.cc')
-rw-r--r-- | sql/ha_partition.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/ha_partition.cc b/sql/ha_partition.cc index 463a1678449..b87192db69f 100644 --- a/sql/ha_partition.cc +++ b/sql/ha_partition.cc @@ -3809,6 +3809,7 @@ int ha_partition::truncate_partition(Alter_info *alter_info, bool *binlog_stmt) SYNOPSIS start_bulk_insert() rows Number of rows to insert + flags Flags to control index creation RETURN VALUE NONE @@ -3816,7 +3817,7 @@ int ha_partition::truncate_partition(Alter_info *alter_info, bool *binlog_stmt) DESCRIPTION rows == 0 means we will probably insert many rows */ -void ha_partition::start_bulk_insert(ha_rows rows) +void ha_partition::start_bulk_insert(ha_rows rows, uint flags) { DBUG_ENTER("ha_partition::start_bulk_insert"); |