mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
fix json typo s/UNINITALIZED/UNINITIALIZED/
This commit is contained in:
committed by
Vicențiu-Marian Ciorbaru
parent
71ed8c136f
commit
7b587fcbe7
@@ -172,7 +172,7 @@ enum json_states {
|
||||
|
||||
enum json_value_types
|
||||
{
|
||||
JSON_VALUE_UNINITALIZED=0,
|
||||
JSON_VALUE_UNINITIALIZED=0,
|
||||
JSON_VALUE_OBJECT=1,
|
||||
JSON_VALUE_ARRAY=2,
|
||||
JSON_VALUE_STRING=3,
|
||||
|
@@ -986,7 +986,7 @@ my_decimal *Item_func_json_extract::val_decimal(my_decimal *to)
|
||||
case JSON_VALUE_ARRAY:
|
||||
case JSON_VALUE_FALSE:
|
||||
case JSON_VALUE_NULL:
|
||||
case JSON_VALUE_UNINITALIZED:
|
||||
case JSON_VALUE_UNINITIALIZED:
|
||||
break;
|
||||
};
|
||||
}
|
||||
|
@@ -948,7 +948,7 @@ int json_read_value(json_engine_t *j)
|
||||
{
|
||||
int t_next, c_len, res;
|
||||
|
||||
j->value_type= JSON_VALUE_UNINITALIZED;
|
||||
j->value_type= JSON_VALUE_UNINITIALIZED;
|
||||
if (j->state == JST_KEY)
|
||||
{
|
||||
while (json_read_keyname_chr(j) == 0) {}
|
||||
|
Reference in New Issue
Block a user