String sql = "SET SQL_QUOTE_SHOW_CREATE=1/*!40102 ,SQL_MODE=concat(@@sql_mode, _utf8 ',NO_KEY_OPTIONS,NO_TABLE_OPTIONS,NO_FIELD_OPTIONS') */";
Assert.assertTrue(WallUtils.isValidateMySql(sql)); //
}
public void test_true_9() throws Exception {
WallConfig config = new WallConfig();
config.setHintAllow(true);
config.setMultiStatementAllow(true);
String sql = "CREATE TABLE `session` ("//
+ " `sess_id` varchar(128) NOT NULL,"//
+ " `created` datetime NOT NULL DEFAULT '1000-01-01 00:00:00',"//
+ " `changed` datetime NOT NULL DEFAULT '1000-01-01 00:00:00',"//
+ " `ip` varchar(40) NOT NULL,"//