Comments (8)
im guessing its here https://github.com/ctripcorp/SQLlin/blob/776e1f995259e36086d97bc4c578cf17ad9ca006/sqllin-driver/src/commonMain/kotlin/com/ctrip/sqllin/driver/Extension.kt#L99C1-L100C1
from sqllin.
And then thrown from here
from sqllin.
Okay, I will look at this issue today.
from sqllin.
I think this is a reasonable behavior. If users use read-only mode, they should ensure the value of DatabaseConfiguration.version
same with the value in database file. So, I would add a separate check for this situation and throw an IllegalArgumentException
with the related message.
from sqllin.
Does that number have to be greater than 0?
from sqllin.
Yes, if we create a new database, usually set the version is 1.
from sqllin.
OK great thanks
from sqllin.
You're welcome
from sqllin.
Related Issues (15)
- 作为一个库,可以开启 kotlin 的 explicit api 模式 HOT 2
- 下载依赖报错 HOT 2
- Implement a Kotlin/Native SQLite driver to replace the SQLiter HOT 1
- Could not find org.jetbrains.kotlinx-atomicfu-0.17.3-nativeInterop-8G5yng.klib HOT 3
- 如何配置postgresql? HOT 3
- Support for WASM target HOT 2
- Unable to link under Linux HOT 7
- Native driver does not respect isReadOnly HOT 9
- Long在ksp阶段有问题,生成的代码无法通过编译 HOT 2
- (Feature Request)有计划提供执行原生sql的api吗? HOT 7
- Update Kotlin version: 1.9.20 -> 1.9.21 HOT 1
- org.gradle.api.artifacts.UnknownConfigurationException: Configuration with name 'kspMainMetadata' not found. HOT 1
- 自增主键ID问题 HOT 2
- Supported Multiplatform unit tests HOT 2
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 sqllin.