diff options
author | Samuel Gaist <samuel.gaist@edeltech.ch> | 2017-02-16 14:46:09 +0100 |
---|---|---|
committer | Samuel Gaist <samuel.gaist@edeltech.ch> | 2017-04-04 12:02:10 +0000 |
commit | 9076046a109cb8c60254314f7d29f7e044c5946f (patch) | |
tree | 60fd45021f75210ca66b0dd8e837d6f777d9bc90 /src/plugins/sqldrivers/sqlite/sqlite.pro | |
parent | 8f93d6632ac1e2876a0c90d267be0294173ac97b (diff) |
SQLite: enable support for named placeholders
SQLite has been supporting named placeholders for some time now and the
code of the module is also written in that sense. The only thing that
currently fails is the parameter count check. If the named placeholder
is used several times then the parameter count will not match the
value count. This patch adds a second check in that case. This use
case is already tested by tst_qsqlquery.
[ChangeLog][QtSql][SQLite] Named placeholder can now be used.
If compiling Qt by hand and using system libraries, this feature
requires at least SQLite 3.3.11.
Change-Id: I1f6fa93f72bd809136894eafce0a2ae5cf6a62db
Reviewed-by: Jesus Fernandez <Jesus.Fernandez@qt.io>
Reviewed-by: Andy Shaw <andy.shaw@qt.io>
Diffstat (limited to 'src/plugins/sqldrivers/sqlite/sqlite.pro')
0 files changed, 0 insertions, 0 deletions