summaryrefslogtreecommitdiff
path: root/platform/qt/src/sqlite3.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [build] rework platform/default directory and add -files.txt for vendored libsKonstantin Käfer2018-12-141-1/+1
|
* [qt] Deprecate Qt4 and old versions of Qt5Thiago Marcos P. Santos2018-11-131-8/+0
| | | | Not enough adoption to keep the platform alive.
* Use QSqlError::databaseText for reporting errors from SQLite wrapper to ↵Asheem Mamoowala2018-08-281-4/+4
| | | | match SQLite3 error messages
* [core] harden OfflineDatabaseKonstantin Käfer2018-08-141-7/+5
|
* [core] remove unused flags from SQLite headerKonstantin Käfer2018-06-121-4/+0
|
* [core] support moving Database object during a TransactionKonstantin Käfer2018-06-121-8/+18
|
* Avoid exceptions for flow control during database creationJohn Firebaugh2018-05-091-38/+47
| | | | Unfortuntely, it's difficult to avoid all exceptions, because sqlite3_open_v2 does not reliably return SQLITE_NOTADB if the file is not a database. However, this should avoid cases where developers misinterpret the SQLITE_CANTOPEN exception as a crash, which is the common case.
* [core, qt] move self-resetting Statement/Query object to shared headerKonstantin Käfer2018-03-021-95/+103
|
* [core] refactor SQLite error/status codesKonstantin Käfer2018-03-021-5/+5
|
* [qt] Fix issue if resources not being found on the databaseThiago Marcos P. Santos2018-02-261-7/+2
| | | | | | | Once again QVariant getting confused about its contents datatype. With this patch we use QString directly and copy the contents, which should be cheap with Qt implicity sharing.
* [windows][qt] Remove std:: namespace of some functionsThiago Marcos P. Santos2018-01-081-2/+2
| | | | Not available on Windows.
* [Qt] Explicit QVariant type as string when binding textBruno de Oliveira Abinader2017-11-091-2/+11
|
* [Qt] Call QSqlQuery::finish() when inactiveBruno de Oliveira Abinader2017-11-091-9/+10
|
* [Qt] Do not store QSqlDatabaseBruno de Oliveira Abinader2017-11-091-21/+30
|
* [Qt] Qt SQLite driver has no setForwardOnly supportBruno de Oliveira Abinader2017-11-091-4/+2
|
* [core] finish must-revalidate supportKonstantin Käfer2017-08-081-0/+1
|
* [Qt] Fix database timeout not being set correctlyThiago Marcos P. Santos2017-07-261-1/+6
| | | | | | | | It was overflowing due to long to int conversion inside Qt and never being effectively set because Qt was silently ignoring the conversion error and discarding the new value. Fixes #9108.
* [Qt] Align database creation behavior with the default implementationThiago Marcos P. Santos2017-07-171-2/+11
| | | | | Qt doesn't throw a Exception::Code::CANTOPEN when trying to open a database that doesn't exist without the Create flag.
* [core] Remove unused bool() functionsBruno de Oliveira Abinader2017-04-141-9/+0
|
* [Qt] Guarantee QSqlDatabase connection name uniquenessBruno de Oliveira Abinader2017-02-011-1/+8
| | | | | Guarantee QSqlDatabase connection name uniqueness by using a static counter together with the current thread.
* [Qt] Make datatypes compatible with the default implementationThiago Marcos P. Santos2017-01-261-3/+15
| | | | On the default all integers map to `sqlite3_bind_int64`.
* [Qt] Check for Qt SQLite database driverBruno de Oliveira Abinader2017-01-231-20/+21
|
* [Qt] Explicitly map the `bool` binder to `int`Thiago Marcos P. Santos2017-01-231-1/+5
| | | | On Qt4 and Qt5 the QVariant conversion from bool behaves differently.
* [Qt] Save a copy when using binary data if possibleThiago Marcos P. Santos2017-01-231-9/+10
|
* [Qt] Implement mapbox::sqlite::{Database,Statement} using QtSqlBruno de Oliveira Abinader2017-01-231-0/+411