Commit Graph

10 Commits

Author SHA1 Message Date
Konstantin Käfer
f0a7c45064 [core] finish must-revalidate support 2017-08-08 12:40:38 +02:00
Thiago Marcos P. Santos
55faa23d2e [Qt] Fix database timeout not being set correctly
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.
2017-07-26 15:39:03 +03:00
Thiago Marcos P. Santos
d9ad09ca36 [Qt] Align database creation behavior with the default implementation
Qt doesn't throw a Exception::Code::CANTOPEN when trying to open
a database that doesn't exist without the Create flag.
2017-07-17 16:47:29 +03:00
Bruno de Oliveira Abinader
04a3a7383a [core] Remove unused bool() functions 2017-04-14 12:33:13 -07:00
Bruno de Oliveira Abinader
ab814ef9b0 [Qt] Guarantee QSqlDatabase connection name uniqueness
Guarantee QSqlDatabase connection name uniqueness by using a static
counter together with the current thread.
2017-02-01 17:00:17 +02:00
Thiago Marcos P. Santos
a8225b8fff [Qt] Make datatypes compatible with the default implementation
On the default all integers map to `sqlite3_bind_int64`.
2017-01-26 18:37:42 +02:00
Bruno de Oliveira Abinader
00b4baff5f [Qt] Check for Qt SQLite database driver 2017-01-23 19:06:53 +02:00
Thiago Marcos P. Santos
1c759cfa09 [Qt] Explicitly map the bool binder to int
On Qt4 and Qt5 the QVariant conversion from bool behaves differently.
2017-01-23 19:06:53 +02:00
Thiago Marcos P. Santos
1065917e59 [Qt] Save a copy when using binary data if possible 2017-01-23 19:06:53 +02:00
Bruno de Oliveira Abinader
88b7fc3929 [Qt] Implement mapbox::sqlite::{Database,Statement} using QtSql 2017-01-23 19:06:53 +02:00