summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunknown <mskold@mysql.com>2006-01-18 12:44:08 +0100
committerunknown <mskold@mysql.com>2006-01-18 12:44:08 +0100
commit68c1d22b875668d2f6f6b7983fab4baf05889df2 (patch)
tree8ad969f2308cf12fac5e4f86134547efbd60f3f4
parentb58c076c1898ec5f994660063df20ace2f1924e9 (diff)
downloadmariadb-git-68c1d22b875668d2f6f6b7983fab4baf05889df2.tar.gz
Disabled fast/drop index temporarily
-rw-r--r--mysql-test/r/ndb_alter_table_row.result2
-rw-r--r--mysql-test/t/disabled.def1
-rw-r--r--mysql-test/t/ndb_alter_table_row.test2
-rw-r--r--sql/ha_ndbcluster.cc1
4 files changed, 1 insertions, 5 deletions
diff --git a/mysql-test/r/ndb_alter_table_row.result b/mysql-test/r/ndb_alter_table_row.result
index 552df63b030..450b2c9a5af 100644
--- a/mysql-test/r/ndb_alter_table_row.result
+++ b/mysql-test/r/ndb_alter_table_row.result
@@ -8,8 +8,6 @@ a b c
2 two two
alter table t1 drop index c;
select * from t1 where c = 'two';
-ERROR HY000: Table definition has changed, please retry transaction
-select * from t1 where c = 'two';
a b c
2 two two
drop table t1;
diff --git a/mysql-test/t/disabled.def b/mysql-test/t/disabled.def
index 5e81fae70d2..14d9f22eb6c 100644
--- a/mysql-test/t/disabled.def
+++ b/mysql-test/t/disabled.def
@@ -26,6 +26,5 @@ rpl_ndb_basic : Bug#16228
rpl_sp : Bug #16456
ndb_autodiscover : Needs to be fixed w.r.t binlog
ndb_autodiscover2 : Needs to be fixed w.r.t binlog
-ndb_alter_table_row : dbug assert in RBR mode when executing test suite
ndb_condition_pushdown: Bug #16596: Crash in mysql_unpack_partition
ndb_index_ordered : Bug #16596: Crash in mysql_unpack_partition
diff --git a/mysql-test/t/ndb_alter_table_row.test b/mysql-test/t/ndb_alter_table_row.test
index a48d17ec02a..5dbfa26289b 100644
--- a/mysql-test/t/ndb_alter_table_row.test
+++ b/mysql-test/t/ndb_alter_table_row.test
@@ -17,8 +17,6 @@ select * from t1 where c = 'two';
connection server1;
alter table t1 drop index c;
connection server2;
---error 1412
-select * from t1 where c = 'two';
select * from t1 where c = 'two';
connection server1;
drop table t1;
diff --git a/sql/ha_ndbcluster.cc b/sql/ha_ndbcluster.cc
index 3e325ae7cec..3d44c731b80 100644
--- a/sql/ha_ndbcluster.cc
+++ b/sql/ha_ndbcluster.cc
@@ -9161,6 +9161,7 @@ uint ha_ndbcluster::set_up_partition_info(partition_info *part_info,
bool ha_ndbcluster::check_if_incompatible_data(HA_CREATE_INFO *info,
uint table_changes)
{
+ return COMPATIBLE_DATA_NO; // Disable fast add/drop index
if (table_changes != IS_EQUAL_YES)
return COMPATIBLE_DATA_NO;