summaryrefslogtreecommitdiff
path: root/sql/opt_range.cc
diff options
context:
space:
mode:
authorSergei Krivonos <sergei.krivonos@mariadb.com>2021-11-15 00:42:26 +0200
committerSergei Krivonos <sergeikrivonos@gmail.com>2021-11-19 01:55:23 +0200
commitd4d71153dbeb896589d1d56c9746b4e0b54f110e (patch)
tree862ea354f53a2fb5768bca4a675b81188226afc0 /sql/opt_range.cc
parent8101af68fac5121cc2c44583c77c12f4f7318599 (diff)
downloadmariadb-git-d4d71153dbeb896589d1d56c9746b4e0b54f110e.tar.gz
Json_writer_object add integersbb-10.4-MDEV-27036
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 47bf8f1682f..5f13c9b3441 100644
--- a/sql/opt_range.cc
+++ b/sql/opt_range.cc
@@ -6908,7 +6908,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,