-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MDEV-11465 JSON_LENGTH returns incorrect length.
Item_func_json_length::val_int fixed.
- Loading branch information
Alexey Botchkov
committed
Dec 5, 2016
1 parent
75a5181
commit 2b01461
Showing
3 changed files
with
13 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1271,8 +1271,7 @@ longlong Item_func_json_length::val_int() | |
return 0; | ||
} | ||
|
||
return length; | ||
|
||
return length - 1; | ||
} | ||
|
||
|
||
|