package com.daviancorp.android.data.database;

public class QueryHelper {
	public boolean Distinct;
	public String Table; 
	public String[] Columns; 
	public String Selection; 
	public String[] SelectionArgs; 
	public String GroupBy;
	public String Having; 
	public String OrderBy; 
	public String Limit;
	
	public QueryHelper()
	{
		Distinct = false;
		Table = null; 
		Columns = null; 
		Selection = null; 
		SelectionArgs = null; 
		GroupBy = null;
		Having = null; 
		OrderBy = null; 
		Limit = null;
	}
	
	public QueryHelper(boolean distinct, String table, String[] columns, 
			String selection, String[] selectionArgs, String groupBy, 
			String having, String orderBy, String limit) {
		Distinct = distinct;
		Table = table; 
		Columns = columns; 
		Selection = selection; 
		SelectionArgs = selectionArgs; 
		GroupBy = groupBy;
		Having = having; 
		OrderBy = orderBy; 
		Limit = limit;
	}
}

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