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
fix(funcexp): MCOL-5607: JSON function use crashes query execution (#3028)
JSON functions were implemented violating an assumption of their pureness, as they should not have any state. This concrete patch fixes implementation of JSON_VALUE function.
This commit is contained in:
committed by
Leonid Fedorov
parent
1935c9c1da
commit
2eca3ee656
@ -54,6 +54,11 @@ namespace funcexp
|
||||
typedef std::vector<execplan::SPTP> FunctionParm;
|
||||
|
||||
/** @brief Func class
|
||||
*
|
||||
* @desc IMPORTANT: functions are pure transformers, they should
|
||||
* not have state shared between invocations. This is so because
|
||||
* functions' objects are, essentially, singletons and the same
|
||||
* objects will be used in diffeent threads.
|
||||
*/
|
||||
class Func
|
||||
{
|
||||
|
Reference in New Issue
Block a user