"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/libs/sqlite/sqlstatementbuilder.cpp" between
qt-creator-opensource-src-4.15.0.tar.xz and qt-creator-opensource-src-4.15.1.tar.xz

About: Qt Creator is a cross-platform, complete IDE (integrated development environment) tailored to the needs of Qt developers.

sqlstatementbuilder.cpp  (qt-creator-opensource-src-4.15.0.tar.xz):sqlstatementbuilder.cpp  (qt-creator-opensource-src-4.15.1.tar.xz)
skipping to change at line 182 skipping to change at line 182
} }
bool SqlStatementBuilder::isBuild() const bool SqlStatementBuilder::isBuild() const
{ {
return m_sqlStatement.hasContent(); return m_sqlStatement.hasContent();
} }
Utils::SmallString SqlStatementBuilder::columnTypeToString(ColumnType columnType ) Utils::SmallString SqlStatementBuilder::columnTypeToString(ColumnType columnType )
{ {
switch (columnType) { switch (columnType) {
case ColumnType::Numeric: return "NUMERIC"; case ColumnType::Numeric:
case ColumnType::Integer: return "INTEGER"; return " NUMERIC";
case ColumnType::Real: return "REAL"; case ColumnType::Integer:
case ColumnType::Text: return "TEXT"; return " INTEGER";
case ColumnType::Blob: return "BLOB"; case ColumnType::Real:
case ColumnType::None: return {}; return " REAL";
case ColumnType::Text:
return " TEXT";
case ColumnType::Blob:
return " BLOB";
case ColumnType::None:
return {};
} }
Q_UNREACHABLE(); Q_UNREACHABLE();
} }
void SqlStatementBuilder::generateSqlStatement() const void SqlStatementBuilder::generateSqlStatement() const
{ {
m_sqlStatement = m_sqlTemplate; m_sqlStatement = m_sqlTemplate;
sortBindings(); sortBindings();
 End of changes. 1 change blocks. 
6 lines changed or deleted 12 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)