Update join test results that need --sorted_results
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Drizzle |
Fix Released
|
Medium
|
Unassigned | ||
Dexter |
Fix Released
|
Medium
|
Unassigned |
Bug Description
For the feature request (https:/
tests/
tests/
tests/
tests/
tests/
tests/
tests/
tests/
tests/
tests/
tests/
tests/
tests/
tests/
tests/
Changes to run the test and expose the results that needed updating were:
=== modified file 'drizzled/join.cc'
--- drizzled/join.cc 2010-08-03 04:19:05 +0000
+++ drizzled/join.cc 2010-08-12 21:19:06 +0000
@@ -3816,7 +3816,7 @@ static void best_access_
/* We read the table as many times as join buffer becomes full. */
tmp*= (1.0 + floor((double) cache_record_
- (double) session-
+ (double) 1));
/*
We don't make full cartesian product between rows in the scanned
table and existing records because we skip all rows from the
=== modified file 'drizzled/
--- drizzled/
+++ drizzled/
@@ -161,7 +161,7 @@ int join_init_
cache->length= length+
cache->blobs= blobs;
*blob_ptr= NULL; /* End sequentel */
- size= max((size_t) session-
+ size= max((size_t) 1, (size_t)
if (!(cache->buff= (unsigned char*) malloc(size)))
return 1;
cache->end= cache->buff+size;
Related branches
- Drizzle Merge Team: Pending requested
-
Diff: 1223 lines (+198/-129)33 files modifiedplugin/filesystem_engine/tests/t/multiple_update.data (+1/-1)
tests/r/distinct.result (+2/-2)
tests/r/func_group.result (+2/-2)
tests/r/func_in.result (+2/-2)
tests/r/func_time.result (+2/-2)
tests/r/greedy_optimizer.result (+20/-20)
tests/r/group_min_max.result (+12/-12)
tests/r/join.result (+8/-8)
tests/r/join_nested.result (+32/-32)
tests/r/join_outer.result (+3/-3)
tests/r/key_diff.result (+17/-17)
tests/r/range.result (+1/-1)
tests/r/select.result (+20/-20)
tests/r/subselect.result (+1/-1)
tests/r/type_blob.result (+4/-4)
tests/r/type_datetime.result (+2/-2)
tests/t/derived.test (+3/-0)
tests/t/distinct.test (+2/-0)
tests/t/func_group.test (+2/-0)
tests/t/func_in.test (+2/-0)
tests/t/func_time.test (+2/-0)
tests/t/greedy_optimizer.test (+25/-0)
tests/t/group_by.test (+2/-0)
tests/t/group_min_max.test (+1/-0)
tests/t/join.test (+7/-0)
tests/t/join_nested.test (+13/-0)
tests/t/join_outer.test (+3/-0)
tests/t/key_diff.test (+1/-0)
tests/t/range.test (+1/-0)
tests/t/select.test (+2/-0)
tests/t/subselect.test (+1/-0)
tests/t/type_blob.test (+1/-0)
tests/t/type_datetime.test (+1/-0)
Changed in drizzle: | |
assignee: | nobody → Lee Bieber (kalebral) |
milestone: | none → 2010-08-30 |