Skip to content

Commit c9c5c9a

Browse files
authored
add json_schema_valid into tidb_allow_function_for_expression_index (#19812) (#19813)
1 parent 4b3caa2 commit c9c5c9a

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
@@ -156,6 +156,7 @@ Expression index involves various kinds of expressions. To ensure correctness, o
156156
- [`JSON_QUOTE()`](/functions-and-operators/json-functions.md)
157157
- [`JSON_REMOVE()`](/functions-and-operators/json-functions.md)
158158
- [`JSON_REPLACE()`](/functions-and-operators/json-functions.md)
159+
- [`JSON_SCHEMA_VALID()`](/functions-and-operators/json-functions/json-functions-validate.md)
159160
- [`JSON_SEARCH()`](/functions-and-operators/json-functions.md)
160161
- [`JSON_SET()`](/functions-and-operators/json-functions.md)
161162
- [`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
@@ -1080,7 +1080,7 @@ mysql> SHOW GLOBAL VARIABLES LIKE 'max_prepared_stmt_count';
10801080
10811081
- Scope: NONE
10821082
- Applies to hint [SET_VAR](/optimizer-hints.md#set_varvar_namevar_value): No
1083-
- 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`
1083+
- 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`
10841084
- 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).
10851085
10861086
### tidb_allow_mpp <span class="version-mark">New in v5.0</span>

0 commit comments

Comments
 (0)