diff --git a/src/assistant/help/qhelpgenerator.cpp b/src/assistant/help/qhelpgenerator.cpp index c8722499e54305dea18ec9fbed730cda63834cde..d341a04deebaafc9965add193f8909c8ea1909e7 100644 --- a/src/assistant/help/qhelpgenerator.cpp +++ b/src/assistant/help/qhelpgenerator.cpp @@ -311,9 +311,6 @@ bool QHelpGenerator::createTables() "NamespaceId INTEGER, " "FileId INTEGER, " "Anchor TEXT )") - << QLatin1String("CREATE TABLE IndexItemTable (" - "Id INTEGER, " - "IndexId INTEGER )") << QLatin1String("CREATE TABLE IndexFilterTable (" "FilterAttributeId INTEGER, " "IndexId INTEGER )") diff --git a/tests/auto/qhelpgenerator/tst_qhelpgenerator.cpp b/tests/auto/qhelpgenerator/tst_qhelpgenerator.cpp index da7e03779c061b19066bf944cdc8197e1abf1c92..10cfff9ac1b73f8017d2a4709b89e726ffd4621d 100644 --- a/tests/auto/qhelpgenerator/tst_qhelpgenerator.cpp +++ b/tests/auto/qhelpgenerator/tst_qhelpgenerator.cpp @@ -137,12 +137,6 @@ void tst_QHelpGenerator::checkIndices() || m_query->value(1).toString() != QLatin1String("foo")) QFAIL("Index Error!"); - /* - m_query->exec("SELECT COUNT(DISTINCT Id) FROM IndexItemTable"); - if (!m_query->next() || m_query->value(0).toInt() != 7) - QFAIL("Index Error!"); - */ - m_query->exec("SELECT COUNT(a.Id) FROM IndexTable a, " "IndexFilterTable b, FilterAttributeTable c WHERE a.Id=b.IndexId " "AND b.FilterAttributeId=c.Id AND c.Name=\'filter2\'");