Commit fe0a56a6 by Scott

Always fetch options in separate query

parent 9887da87
......@@ -136,13 +136,7 @@
),
);
if (QA_OPTIMIZE_DISTANT_DB) {
require_once QA_INCLUDE_DIR.'db/selects.php';
foreach ($selectspecs as $pendingid => $selectspec)
qa_db_queue_pending_select($pendingid, $selectspec);
} else
// fetch options in a separate query before everything else
qa_load_options_results(qa_db_multi_select($selectspecs));
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment