Revert "experimentally disable some SQL to make performance impact check"
This reverts commit fadd29ecd9
.
This commit is contained in:
parent
5620237e78
commit
ee68d07db2
1 changed files with 0 additions and 4 deletions
|
@ -37,14 +37,10 @@ QMap<int, QString> DatabaseQueries::messageTableAttributes(bool only_msg_table)
|
|||
"THEN 'true' "
|
||||
"ELSE 'false' "
|
||||
"END AS has_enclosures");
|
||||
field_names[MSG_DB_LABELS] = QSL("1 as msg_labels");
|
||||
|
||||
/*
|
||||
field_names[MSG_DB_LABELS] =
|
||||
QSL("(SELECT GROUP_CONCAT(Labels.name) FROM Labels WHERE Labels.custom_id IN (SELECT "
|
||||
"LabelsInMessages.label FROM LabelsInMessages WHERE LabelsInMessages.account_id = "
|
||||
"Messages.account_id AND LabelsInMessages.message = Messages.custom_id)) as msg_labels");
|
||||
*/
|
||||
|
||||
return field_names;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue