* of an existing table against the given CHECK search condition.
*/
static QuerySpecification getCheckSelect(Session session, Table t,
Expression e) {
CompileContext compileContext = new CompileContext(session, null);
QuerySpecification s = new QuerySpecification(compileContext);
RangeVariable[] ranges = new RangeVariable[]{
new RangeVariable(t, null, null, null, compileContext) };
e.resolveCheckOrGenExpression(session, ranges, true);