forked from qt-creator/qt-creator
Sqlite: Remove the Sqlite Prefix
We use a name space now, so the prefix is not of much use. Change-Id: I2b077576f94dab778add6ab2e54870f7ca18da78 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
@@ -27,14 +27,14 @@
|
||||
|
||||
namespace Sqlite {
|
||||
|
||||
SqliteWriteStatement::SqliteWriteStatement(Utils::SmallStringView sqlStatement,
|
||||
SqliteDatabase &database)
|
||||
: SqliteStatement(sqlStatement, database)
|
||||
WriteStatement::WriteStatement(Utils::SmallStringView sqlStatement,
|
||||
Database &database)
|
||||
: Statement(sqlStatement, database)
|
||||
{
|
||||
checkIsWritableStatement();
|
||||
}
|
||||
|
||||
void SqliteWriteStatement::checkIsWritableStatement()
|
||||
void WriteStatement::checkIsWritableStatement()
|
||||
{
|
||||
if (isReadOnlyStatement())
|
||||
throwException("SqliteStatement::SqliteWriteStatement: is not a writable statement!");
|
||||
|
||||
Reference in New Issue
Block a user