Commit fe0a56a6 by Scott

Always fetch options in separate query

parent 9887da87
...@@ -136,14 +136,8 @@ ...@@ -136,14 +136,8 @@
), ),
); );
if (QA_OPTIMIZE_DISTANT_DB) { // fetch options in a separate query before everything else
require_once QA_INCLUDE_DIR.'db/selects.php'; qa_load_options_results(qa_db_multi_select($selectspecs));
foreach ($selectspecs as $pendingid => $selectspec)
qa_db_queue_pending_select($pendingid, $selectspec);
} 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