summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorunknown <mskold/marty@linux.site>2007-02-07 11:40:43 +0100
committerunknown <mskold/marty@linux.site>2007-02-07 11:40:43 +0100
commit0690e39b2a25d8378b3924d45e530d8bf037f4af (patch)
tree9141e9b4aa398ffafea88e40c5b7a4ff2f85926f /sql
parent17f82aa34324923c15914b128c6c79fdba00cf7d (diff)
parentc8f470eaa6e09f674f1d5fe17a7bb5e582431055 (diff)
downloadmariadb-git-0690e39b2a25d8378b3924d45e530d8bf037f4af.tar.gz
Merge mysql.com:/windows/Linux_space/MySQL/mysql-5.0
into mysql.com:/windows/Linux_space/MySQL/mysql-5.1 sql/ha_ndbcluster.cc: Auto merged storage/ndb/include/ndbapi/NdbScanOperation.hpp: Auto merged storage/ndb/src/ndbapi/NdbScanOperation.cpp: Auto merged sql/ha_ndbcluster.h: SCCS merged
Diffstat (limited to 'sql')
-rw-r--r--sql/ha_ndbcluster.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/sql/ha_ndbcluster.cc b/sql/ha_ndbcluster.cc
index 18fd49b4115..940664b2660 100644
--- a/sql/ha_ndbcluster.cc
+++ b/sql/ha_ndbcluster.cc
@@ -2280,8 +2280,7 @@ int ha_ndbcluster::set_bounds(NdbIndexScanOperation *op,
DBUG_PRINT("error", ("key %d unknown flag %d", j, p.key->flag));
DBUG_ASSERT(FALSE);
// Stop setting bounds but continue with what we have
- op->end_of_bound(range_no);
- DBUG_RETURN(0);
+ DBUG_RETURN(op->end_of_bound(range_no));
}
}
}
@@ -2328,8 +2327,7 @@ int ha_ndbcluster::set_bounds(NdbIndexScanOperation *op,
tot_len+= part_store_len;
}
- op->end_of_bound(range_no);
- DBUG_RETURN(0);
+ DBUG_RETURN(op->end_of_bound(range_no));
}
/*