Skip to content
This repository was archived by the owner on May 9, 2024. It is now read-only.

Fixed hash code of empty query plan on windows #400

Merged
merged 1 commit into from
Apr 18, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions omniscidb/QueryEngine/RelAlgExecutionUnit.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
#include "Shared/sqldefs.h"
#include "Shared/toString.h"

#include <boost/functional/hash.hpp>
#include <boost/graph/adjacency_list.hpp>

#include <list>
Expand Down Expand Up @@ -98,8 +99,8 @@ enum JoinColumnSide {
kDirect // set target directly (i.e., put hdk::ir::Expr* instead of
// hdk::ir::BinOper*)
};
constexpr char const* EMPTY_QUERY_PLAN = "";
constexpr QueryPlanHash EMPTY_HASHED_PLAN_DAG_KEY = 0;
const QueryPlan EMPTY_QUERY_PLAN("");
const QueryPlanHash EMPTY_HASHED_PLAN_DAG_KEY = boost::hash_value(EMPTY_QUERY_PLAN);

enum class SortAlgorithm { Default, SpeculativeTopN, StreamingTopN };

Expand Down