mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
add testcase for issue #2119
This commit is contained in:
@@ -15,6 +15,7 @@
|
||||
*/
|
||||
package com.alibaba.druid.sql.ast;
|
||||
|
||||
import com.alibaba.druid.sql.visitor.SQLASTOutputVisitor;
|
||||
import com.alibaba.druid.sql.visitor.SQLASTVisitor;
|
||||
|
||||
public class SQLCommentHint extends SQLObjectImpl implements SQLHint {
|
||||
@@ -46,4 +47,8 @@ public class SQLCommentHint extends SQLObjectImpl implements SQLHint {
|
||||
public SQLCommentHint clone() {
|
||||
return new SQLCommentHint(text);
|
||||
}
|
||||
|
||||
public void output(StringBuffer buf) {
|
||||
new SQLASTOutputVisitor(buf).visit(this);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user