Commit 7b587fcb authored by Eric Herman's avatar Eric Herman Committed by Vicențiu-Marian Ciorbaru

fix json typo s/UNINITALIZED/UNINITIALIZED/

parent 71ed8c13
...@@ -172,7 +172,7 @@ enum json_states { ...@@ -172,7 +172,7 @@ enum json_states {
enum json_value_types enum json_value_types
{ {
JSON_VALUE_UNINITALIZED=0, JSON_VALUE_UNINITIALIZED=0,
JSON_VALUE_OBJECT=1, JSON_VALUE_OBJECT=1,
JSON_VALUE_ARRAY=2, JSON_VALUE_ARRAY=2,
JSON_VALUE_STRING=3, JSON_VALUE_STRING=3,
......
...@@ -986,7 +986,7 @@ my_decimal *Item_func_json_extract::val_decimal(my_decimal *to) ...@@ -986,7 +986,7 @@ my_decimal *Item_func_json_extract::val_decimal(my_decimal *to)
case JSON_VALUE_ARRAY: case JSON_VALUE_ARRAY:
case JSON_VALUE_FALSE: case JSON_VALUE_FALSE:
case JSON_VALUE_NULL: case JSON_VALUE_NULL:
case JSON_VALUE_UNINITALIZED: case JSON_VALUE_UNINITIALIZED:
break; break;
}; };
} }
......
...@@ -948,7 +948,7 @@ int json_read_value(json_engine_t *j) ...@@ -948,7 +948,7 @@ int json_read_value(json_engine_t *j)
{ {
int t_next, c_len, res; int t_next, c_len, res;
j->value_type= JSON_VALUE_UNINITALIZED; j->value_type= JSON_VALUE_UNINITIALIZED;
if (j->state == JST_KEY) if (j->state == JST_KEY)
{ {
while (json_read_keyname_chr(j) == 0) {} while (json_read_keyname_chr(j) == 0) {}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment