diff options
author | drh <> | 2022-01-07 17:14:35 +0000 |
---|---|---|
committer | drh <> | 2022-01-07 17:14:35 +0000 |
commit | 9956c18a814de7928821fb446249c692c9e64df4 (patch) | |
tree | 1f18a2910d02b39735b7b0af20f7ff4fac005ee9 /ext/misc/json1.c | |
parent | 338b1fde623427ee8bbdc7921cff8d8714518fda (diff) | |
download | sqlite-9956c18a814de7928821fb446249c692c9e64df4.tar.gz sqlite-9956c18a814de7928821fb446249c692c9e64df4.zip |
Change the -> operator to use json_extract(). The ->> operator continues
to use json_nextract().
FossilOrigin-Name: b4c8a62381755b9f1447e10ab95df7209eebda91f9a4583ef1c093a13f6b4725
Diffstat (limited to 'ext/misc/json1.c')
-rw-r--r-- | ext/misc/json1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/misc/json1.c b/ext/misc/json1.c index 2cb9d700b..e35d4ed57 100644 --- a/ext/misc/json1.c +++ b/ext/misc/json1.c @@ -2691,7 +2691,7 @@ int sqlite3Json1Init(sqlite3 *db){ { "json_array_length", 2, 0, jsonArrayLengthFunc }, { "json_extract", -1, 0, jsonExtractFunc }, { "json_nextract", -1, 1, jsonExtractFunc }, - { "->", 2, 3, jsonExtractFunc }, + { "->", 2, 2, jsonExtractFunc }, { "->>", 2, 3, jsonExtractFunc }, { "json_insert", -1, 0, jsonSetFunc }, { "json_ntype", 1, 1, jsonTypeFunc }, |