You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-30 19:23:07 +03:00
Clang warnfixes (#2310)
This commit is contained in:
@ -45,13 +45,13 @@ class ColumnCommandJL : public CommandJL
|
||||
ColumnCommandJL(const ColumnCommandJL&, const DictStepJL&);
|
||||
virtual ~ColumnCommandJL();
|
||||
|
||||
virtual void createCommand(messageqcpp::ByteStream& bs) const;
|
||||
virtual void runCommand(messageqcpp::ByteStream& bs) const;
|
||||
void setLBID(uint64_t rid, uint32_t dbroot);
|
||||
uint8_t getTableColumnType();
|
||||
virtual std::string toString();
|
||||
uint16_t getWidth();
|
||||
CommandType getCommandType()
|
||||
virtual void createCommand(messageqcpp::ByteStream& bs) const override;
|
||||
virtual void runCommand(messageqcpp::ByteStream& bs) const override;
|
||||
void setLBID(uint64_t rid, uint32_t dbroot) override;
|
||||
uint8_t getTableColumnType() override;
|
||||
virtual std::string toString() override;
|
||||
uint16_t getWidth() override;
|
||||
CommandType getCommandType() override
|
||||
{
|
||||
return COLUMN_COMMAND;
|
||||
}
|
||||
|
@ -539,16 +539,6 @@ inline bool isNullValue(const T val, const T NULL_VALUE)
|
||||
return val == NULL_VALUE;
|
||||
}
|
||||
|
||||
template <>
|
||||
inline bool isNullValue<KIND_TEXT, int64_t>(const int64_t val, const int64_t NULL_VALUE)
|
||||
{
|
||||
//@bug 339 might be a token here
|
||||
// TODO: what's up with the alternative NULL here?
|
||||
constexpr const int64_t ALT_NULL_VALUE = 0xFFFFFFFFFFFFFFFELL;
|
||||
|
||||
return (val == NULL_VALUE || val == ALT_NULL_VALUE);
|
||||
}
|
||||
|
||||
//
|
||||
// FILTER A COLUMN VALUE
|
||||
//
|
||||
|
Reference in New Issue
Block a user