1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-01 06:46:55 +03:00

fixup! MCOL-2051: CS uses 'NULL' literal as NULL when UPDATEs varchar field

Fixed to retain compatibility with CentOS 6 (no C++11 support).
Moved initialization to the ColumnAssignment constructor.
This commit is contained in:
Sergey Sedov
2019-05-02 09:58:57 +03:00
committed by sianur
parent 83aad0c7b1
commit 12d9e2ec95
3 changed files with 12 additions and 13 deletions

View File

@ -397,6 +397,14 @@ public:
class ColumnAssignment
{
public:
explicit ColumnAssignment(
std::string const& column,
std::string const& op = "=",
std::string const& expr = "") :
fColumn(column), fOperator(op), fScalarExpression(expr),
fFromCol(false), fFuncScale(0), fIsNull(false)
{};
/** @brief dump to stdout
*/
std::ostream& put(std::ostream &os) const;
@ -411,7 +419,7 @@ public:
std::string fScalarExpression;
bool fFromCol;
uint32_t fFuncScale;
bool fIsNull = false;
bool fIsNull;
};
/** @brief Stores a value list or a query specification