|
|
@ -417,8 +417,8 @@ public class DBTableDataPane extends AbstractTableDataPane<DBTableData> implemen |
|
|
|
|
|
|
|
|
|
|
|
private void checkParameter() { |
|
|
|
private void checkParameter() { |
|
|
|
String[] paramTexts = new String[2]; |
|
|
|
String[] paramTexts = new String[2]; |
|
|
|
paramTexts[0] = this.sqlTextPane.getText(); |
|
|
|
paramTexts[0] = SqlUtils.clearSqlComments(this.sqlTextPane.getText()); |
|
|
|
paramTexts[1] = this.pageQuery; |
|
|
|
paramTexts[1] = SqlUtils.clearSqlComments(this.pageQuery); |
|
|
|
Parameter[] parameters = ParameterHelper.analyze4Parameters(paramTexts, false); |
|
|
|
Parameter[] parameters = ParameterHelper.analyze4Parameters(paramTexts, false); |
|
|
|
|
|
|
|
|
|
|
|
if (parameters.length < 1 && this.editorPane.update().size() < 1) { |
|
|
|
if (parameters.length < 1 && this.editorPane.update().size() < 1) { |
|
|
|