Skip to content

Commit b9fda03

Browse files
authored
add json_schema_valid into tidb_allow_function_for_expression_index (#19812)
1 parent bf9e3a7 commit b9fda03

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

sql-statements/sql-statement-create-index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,7 @@ Expression index involves various kinds of expressions. To ensure correctness, o
158158
- [`JSON_QUOTE()`](/functions-and-operators/json-functions.md)
159159
- [`JSON_REMOVE()`](/functions-and-operators/json-functions.md)
160160
- [`JSON_REPLACE()`](/functions-and-operators/json-functions.md)
161+
- [`JSON_SCHEMA_VALID()`](/functions-and-operators/json-functions/json-functions-validate.md)
161162
- [`JSON_SEARCH()`](/functions-and-operators/json-functions.md)
162163
- [`JSON_SET()`](/functions-and-operators/json-functions.md)
163164
- [`JSON_STORAGE_SIZE()`](/functions-and-operators/json-functions.md)

system-variables.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1052,7 +1052,7 @@ mysql> SHOW GLOBAL VARIABLES LIKE 'max_prepared_stmt_count';
10521052
10531053
- Scope: NONE
10541054
- Applies to hint [SET_VAR](/optimizer-hints.md#set_varvar_namevar_value): No
1055-
- Default value: `json_array, json_array_append, json_array_insert, json_contains, json_contains_path, json_depth, json_extract, json_insert, json_keys, json_length, json_merge_patch, json_merge_preserve, json_object, json_pretty, json_quote, json_remove, json_replace, json_search, json_set, json_storage_size, json_type, json_unquote, json_valid, lower, md5, reverse, tidb_shard, upper, vitess_hash`
1055+
- Default value: `json_array, json_array_append, json_array_insert, json_contains, json_contains_path, json_depth, json_extract, json_insert, json_keys, json_length, json_merge_patch, json_merge_preserve, json_object, json_pretty, json_quote, json_remove, json_replace, json_schema_valid, json_search, json_set, json_storage_size, json_type, json_unquote, json_valid, lower, md5, reverse, tidb_shard, upper, vitess_hash`
10561056
- This read-only variable is used to show the functions that are allowed to be used for creating [expression indexes](/sql-statements/sql-statement-create-index.md#expression-index).
10571057
10581058
### tidb_allow_mpp <span class="version-mark">New in v5.0</span>

0 commit comments

Comments
 (0)