MXS-1249: Add json functions
The json function are treated as read-only when the server version is >= 10.2.3. https://mariadb.com/kb/en/mariadb/json-functions/
This commit is contained in:
@ -1,11 +1,19 @@
|
||||
#ifndef BUILTIN_FUNCTIONS_H
|
||||
#define BUILTIN_FUNCTIONS_H
|
||||
/**
|
||||
* @LICENCE@
|
||||
#pragma once
|
||||
/*
|
||||
* Copyright (c) 2016 MariaDB Corporation Ab
|
||||
*
|
||||
* Use of this software is governed by the Business Source License included
|
||||
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
|
||||
*
|
||||
* Change Date: 2020-01-01
|
||||
*
|
||||
* On the date above, in accordance with the Business Source License, use
|
||||
* of this software will be governed by version 2 or later of the General
|
||||
* Public License.
|
||||
*/
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
@ -14,10 +22,8 @@ extern "C" {
|
||||
void init_builtin_functions();
|
||||
void finish_builtin_functions();
|
||||
|
||||
bool is_builtin_readonly_function(const char* zToken);
|
||||
bool is_builtin_readonly_function(const char* zToken, uint32_t major, uint32_t minor, uint32_t patch);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user