added in ticket/templates.cpp binary search for tickets and tickets parameters

git-svn-id: svn://ttmath.org/publicrep/winix/trunk@707 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
2011-01-21 16:16:52 +00:00
parent ab84a5169e
commit 61ac29b2de
9 changed files with 178 additions and 78 deletions

View File

@@ -110,7 +110,7 @@ Error TDb::GetThreads(const std::vector<long> & file_id_tab, std::vector<Thread>
{
CreateIdList(file_id_tab, list_id);
// should be sorted by file_id (is used in binary search later)
// they should be sorted by file_id (they are used in a binary search later)
query.Clear();
query << R("select thread.file_id, thread.replies, thread.closed, thread.last_item, "
"item.date_modification, item.user_id, item.guest_name "