summaryrefslogtreecommitdiff
path: root/sql/item_jsonfunc.cc
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2023-01-19 16:05:14 +0200
committerMarko Mäkelä <marko.makela@mariadb.com>2023-01-19 16:05:14 +0200
commitf364f3a8918c199017062e256e243aabe1c61f99 (patch)
tree779a1e6dc863500f7b5d3ccdea270a4962172ccb /sql/item_jsonfunc.cc
parentfa2885bec36345844842dc1ef14087b8d19eb3c4 (diff)
parenta01abad6193a39a9cdaa2b36b2a40be1759be0ce (diff)
downloadmariadb-git-f364f3a8918c199017062e256e243aabe1c61f99.tar.gz
Diffstat (limited to 'sql/item_jsonfunc.cc')
-rw-r--r--sql/item_jsonfunc.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/item_jsonfunc.cc b/sql/item_jsonfunc.cc
index 2ed387ac8cc..34b146c942b 100644
--- a/sql/item_jsonfunc.cc
+++ b/sql/item_jsonfunc.cc
@@ -1004,7 +1004,7 @@ String *Item_func_json_extract::read_json(String *str,
if (!possible_multiple_values)
{
/* Loop to the end of the JSON just to make sure it's valid. */
- while (json_get_path_next(&je, &p) == 0) {}
+ while (json_scan_next(&je) == 0) {}
break;
}
}