Mercurial > dedupe
view Exception/SQLException.cpp @ 36:2b83559b78db
BUGFIX: batch inserts inserted empty values.
BUGFIX: cutoff limit was not observed at cutoff, but cutoff + 1
| author | Tom Fredrik Blenning Klaussen <bfg@blenning.no> |
|---|---|
| date | Fri, 07 Sep 2012 13:06:10 +0200 |
| parents | bf3dce7fedcb |
| children | f711ddb56ae7 |
line wrap: on
line source
#include "SQLException.hpp" #include <QtSql/QSqlQuery> #include <QtSql/QSqlError> SQLException::SQLException(const QString& errorMsg) : Exception(errorMsg) { } SQLException::SQLException(const QSqlQuery& errorQuery) : Exception(errorQuery.lastError().text() + ":" + errorQuery.lastQuery()) { }
