Comments (2)
https://www.sqlite.org/json1.html#jvalid
If either X or Y inputs to json_valid() are NULL, then the function returns NULL.
This behavior was changed in SQLite itself at some point. With the 3.34.1 CLI, I see:
sqlite> select json_valid(null);
0
With 3.46.0, I see:
sqlite> select json_valid(null);
NULL
Closing because there is nothing we can do about a breaking change in SQLite itself. If you feel strongly about it, please open an issue in the forum (but they are extremely unlikely to do anything about it).
from go-sqlite3.
@rittneje thanks for the quick answer, aligning the CLI and lib versions, the behaviour is now coherent between the two 🖖🏼
from go-sqlite3.
Related Issues (20)
- High suspended process count on linux
- Segmentation fault in Ubuntu 18.04 with GLIBC_2.34 HOT 1
- 【ERROR】Windows use winlibs HOT 1
- Panic while using sqlite rows.Next() - fatal error: unexpected signal during runtime execution
- sqlite3-binding.c use after free HOT 4
- Generic PRAGMA URI parameters HOT 9
- Restore in-memory database failed by using Online Backup API HOT 2
- vtable example broken HOT 2
- feature request: sqlar HOT 2
- Fix explicit fallthrough macro
- enable geopoly HOT 2
- Bazel nogo error: unsafeptr
- cost so long time to build HOT 4
- ez
- cross compile error from mac to armv7 HOT 2
- Segmentation Violation HOT 2
- Add Inline Documentation for adding Custom Extension Functions in `sqlite3-binding.c`
- update sqlite to 3.46.1 HOT 1
- DW_FORM_strx with no .debug_str_offsets section HOT 4
- compiling with sqlite_math_functions tag
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from go-sqlite3.