Changeset 846 for trunk/tools/assistant/lib/qhelpcollectionhandler.cpp
- Timestamp:
- May 5, 2011, 5:36:53 AM (14 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/vendor/nokia/qt/4.7.2 (added) merged: 845 /branches/vendor/nokia/qt/current merged: 844 /branches/vendor/nokia/qt/4.6.3 removed
- Property svn:mergeinfo changed
-
trunk/tools/assistant/lib/qhelpcollectionhandler.cpp
r769 r846 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).3 ** Copyright (C) 201 Nokia Corporation and/or its subsidiary(-ies). 4 4 ** All rights reserved. 5 5 ** Contact: Nokia Corporation ([email protected]) … … 115 115 } 116 116 117 118 119 117 120 m_query.exec(QLatin1String("SELECT COUNT(*) FROM sqlite_master WHERE TYPE=\'table\'" 118 121 "AND Name=\'NamespaceTable\'")); … … 163 166 return false; 164 167 } 168 169 170 165 171 166 172 if (!createTables(copyQuery)) { … … 309 315 m_query.bindValue(0, filterName); 310 316 m_query.exec(); 311 while (m_query.next()) {317 312 318 nameId = m_query.value(0).toInt(); 313 break;314 }315 319 316 320 m_query.exec(QLatin1String("SELECT Id, Name FROM FilterAttributeTable")); … … 585 589 586 590 QSqlQuery query(db); 591 592 587 593 db.exec(QLatin1String("CREATE INDEX IF NOT EXISTS NameIndex ON IndexTable(Name)")); 588 594 db.exec(QLatin1String("CREATE INDEX IF NOT EXISTS FileNameIndex ON FileNameTable(Name)"));
Note:
See TracChangeset
for help on using the changeset viewer.