add code for sw compiling and fix some problems
This commit is contained in:
@ -211,7 +211,7 @@ int ObExprOracleInstr::calc(ObObj& result, const ObObj& haystack, const ObObj& n
|
||||
}
|
||||
} else {
|
||||
if (OB_FAIL(slow_reverse_search(*(expr_ctx.calc_buf_), calc_cs_type, str1, str2, pos, occ, idx))) {
|
||||
LOG_WARN("slow_reverse_search failed", K(ret), K(str1), K(str2), K(pow), K(occ));
|
||||
LOG_WARN("slow_reverse_search failed", K(ret), K(str1), K(str2), K(occ));
|
||||
}
|
||||
}
|
||||
if (OB_SUCC(ret)) {
|
||||
|
||||
@ -594,9 +594,6 @@ public:
|
||||
return ret;
|
||||
}
|
||||
|
||||
template <>
|
||||
int create_stmt<ObSelectStmt>(ObSelectStmt*& stmt);
|
||||
|
||||
inline int free_stmt(ObSelectStmt* stmt)
|
||||
{
|
||||
int ret = common::OB_SUCCESS;
|
||||
@ -630,6 +627,9 @@ private:
|
||||
private:
|
||||
DISALLOW_COPY_AND_ASSIGN(ObStmtFactory);
|
||||
};
|
||||
|
||||
template <>
|
||||
int ObStmtFactory::create_stmt<ObSelectStmt>(ObSelectStmt*& stmt);
|
||||
} // namespace sql
|
||||
} // namespace oceanbase
|
||||
|
||||
|
||||
Reference in New Issue
Block a user