mysql ddl support comment hints

This commit is contained in:
温少
2012-05-18 11:09:10 +08:00
13 changed files with 116 additions and 46 deletions
@@ -17,6 +17,6 @@ public class HintsTest extends TestCase {
SQLStatement stmt = parser.parseStatementList().get(0);
parser.match(Token.EOF);
String output = SQLUtils.toMySqlString(stmt);
Assert.assertEquals("CREATE TABLE t (\n\ta INT\n)", output);
Assert.assertEquals("CREATE /*!32302 TEMPORARY*/ TABLE t (\n\ta INT\n)", output);
}
}