Skip to content

Commit 03dda74

Browse files
author
Ole John Aske
committed
Fixed windows compiler warnings
1 parent d39e6b2 commit 03dda74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sql/abstract_query_plan.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ namespace AQP
281281

282282
case AT_TABLE_SCAN:
283283
DBUG_ASSERT(get_join_tab()->table->file->stats.records>0.0);
284-
return get_join_tab()->table->file->stats.records;
284+
return static_cast<double>(get_join_tab()->table->file->stats.records);
285285

286286
default:
287287
return 99999999.0;

0 commit comments

Comments
 (0)