String sql = "SELECT rpid, columnname, chnname, type, textfield" //
+ " , valuefield, ddlbtable, ddlbwhere, ddlbsort, datatype "//
+ "FROM characteristic "//
+ "WHERE (closed = 0)" //
+ " AND ((SELECT COUNT(*) FROM sysobjects WHERE (id IN (SELECT id FROM syscolumns WHERE name = columnname)) AND (name = 'content')) > 0) ORDER BY code";
Assert.assertFalse(provider.checkValid(sql));
}
}
public void test_true2() throws Exception {
WallProvider provider = initWallProvider();