forked from qt-creator/qt-creator
Sqlite: Inject RTTI into TU
We had problems on macOS with the catching of exceptions because the has type_info::hash_code was different. This is probably a bug because RTTI code is injected for an inline class. To work around that problem we implemented the virtual what method for every exception. Task-number: QDS-9266 Change-Id: I79052c8b70adead412d1940b17195151fb19ebb9 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Vikas Pachdha <vikas.pachdha@qt.io>
This commit is contained in:
@@ -91,8 +91,7 @@ protected:
|
||||
void checkIsReadOnlyStatement()
|
||||
{
|
||||
if (!Base::isReadOnlyStatement())
|
||||
throw NotReadOnlySqlStatement(
|
||||
"SqliteStatement::SqliteReadStatement: is not read only statement!");
|
||||
throw NotReadOnlySqlStatement();
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user