@@ -0,0 +1,901 @@
+package com.daviancorp.android.data.database;%0A%0Apublic class QueryHelper %7B%0A%09public boolean Distinct;%0A%09public String Table; %0A%09public String%5B%5D Columns; %0A%09public String Selection; %0A%09public String%5B%5D SelectionArgs; %0A%09public String GroupBy;%0A%09public String Having; %0A%09public String OrderBy; %0A%09public String Limit;%0A%09%0A%09public QueryHelper()%0A%09%7B%0A%09%09Distinct = false;%0A%09%09Table = null; %0A%09%09Columns = null; %0A%09%09Selection = null; %0A%09%09SelectionArgs = null; %0A%09%09GroupBy = null;%0A%09%09Having = null; %0A%09%09OrderBy = null; %0A%09%09Limit = null;%0A%09%7D%0A%09%0A%09public QueryHelper(boolean distinct, String table, String%5B%5D columns, %0A%09%09%09String selection, String%5B%5D selectionArgs, String groupBy, %0A%09%09%09String having, String orderBy, String limit) %7B%0A%09%09Distinct = distinct;%0A%09%09Table = table; %0A%09%09Columns = columns; %0A%09%09Selection = selection; %0A%09%09SelectionArgs = selectionArgs; %0A%09%09GroupBy = groupBy;%0A%09%09Having = having; %0A%09%09OrderBy = orderBy; %0A%09%09Limit = limit;%0A%09%7D%0A%7D%0A

Fix race conditions in the database helper. Fixes G Rank Tab crash.