summaryrefslogtreecommitdiff
path: root/sql/opt_range.cc
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2021-11-25 08:08:42 +0200
committerMarko Mäkelä <marko.makela@mariadb.com>2021-11-25 08:08:42 +0200
commit3cfbfa58de20057c07ddcc066b6eb4956f77c9e1 (patch)
tree9778934aaed011c97a5baa1548a10732475f6389 /sql/opt_range.cc
parentde7db5517de11a58d57d2a41d0bc6f38b6f92dd8 (diff)
parentca2695392411adc7f1d19f85d464213128e4f285 (diff)
downloadmariadb-git-3cfbfa58de20057c07ddcc066b6eb4956f77c9e1.tar.gz
Merge 10.5 into 10.6
Diffstat (limited to 'sql/opt_range.cc')
-rw-r--r--sql/opt_range.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/opt_range.cc b/sql/opt_range.cc
index 27d2bb9ca1c..80944e97eb7 100644
--- a/sql/opt_range.cc
+++ b/sql/opt_range.cc
@@ -6939,7 +6939,7 @@ static bool ror_intersect_add(ROR_INTERSECT_INFO *info,
DBUG_PRINT("info", ("info->total_cost= %g", info->total_cost));
}
else
- trace_costs->add("disk_sweep_cost", static_cast<longlong>(0));
+ trace_costs->add("disk_sweep_cost", 0);
DBUG_PRINT("info", ("New out_rows: %g", info->out_rows));
DBUG_PRINT("info", ("New cost: %g, %scovering", info->total_cost,