Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
7b587fcb
Commit
7b587fcb
authored
May 23, 2021
by
Eric Herman
Committed by
Vicențiu-Marian Ciorbaru
Jul 21, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix json typo s/UNINITALIZED/UNINITIALIZED/
parent
71ed8c13
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
include/json_lib.h
include/json_lib.h
+1
-1
sql/item_jsonfunc.cc
sql/item_jsonfunc.cc
+1
-1
strings/json_lib.c
strings/json_lib.c
+1
-1
No files found.
include/json_lib.h
View file @
7b587fcb
...
...
@@ -172,7 +172,7 @@ enum json_states {
enum
json_value_types
{
JSON_VALUE_UNINITALIZED
=
0
,
JSON_VALUE_UNINIT
I
ALIZED
=
0
,
JSON_VALUE_OBJECT
=
1
,
JSON_VALUE_ARRAY
=
2
,
JSON_VALUE_STRING
=
3
,
...
...
sql/item_jsonfunc.cc
View file @
7b587fcb
...
...
@@ -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_UNINIT
I
ALIZED
:
break
;
};
}
...
...
strings/json_lib.c
View file @
7b587fcb
...
...
@@ -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_UNINIT
I
ALIZED
;
if
(
j
->
state
==
JST_KEY
)
{
while
(
json_read_keyname_chr
(
j
)
==
0
)
{}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment