mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
Merge remote-tracking branch 'upstream/master' into druid-admin
This commit is contained in:
@@ -15,3 +15,5 @@ out/
|
||||
*.iws
|
||||
*.iml
|
||||
/bin
|
||||
hs_err_pid*.log
|
||||
replay_pid*.log
|
||||
|
||||
@@ -201,9 +201,9 @@
|
||||
|
||||
<profiles>
|
||||
<profile>
|
||||
<id>default-profile</id>
|
||||
<id>jconsole</id>
|
||||
<activation>
|
||||
<activeByDefault>true</activeByDefault>
|
||||
<!--<activeByDefault>true</activeByDefault>-->
|
||||
<file>
|
||||
<exists>${env.JAVA_HOME}/lib/jconsole.jar</exists>
|
||||
</file>
|
||||
@@ -232,6 +232,19 @@
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</profile>
|
||||
<profile>
|
||||
<id>java11plus</id>
|
||||
<activation>
|
||||
<jdk>[11,)</jdk>
|
||||
</activation>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>javax.annotation</groupId>
|
||||
<artifactId>javax.annotation-api</artifactId>
|
||||
<version>1.3.2</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</profile>
|
||||
<profile>
|
||||
<id>mac-profile</id>
|
||||
<activation>
|
||||
|
||||
Executable → Regular
+3
@@ -109,6 +109,9 @@ public class PGSelectQueryBlock extends SQLSelectQueryBlock implements PGSQLObje
|
||||
}
|
||||
|
||||
public void setOrderBy(SQLOrderBy orderBy) {
|
||||
if (orderBy != null) {
|
||||
orderBy.setParent(this);
|
||||
}
|
||||
this.orderBy = orderBy;
|
||||
}
|
||||
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -143,6 +143,9 @@
|
||||
var html = "";
|
||||
for ( var i = 0; i < sqlStatList.length; i++) {
|
||||
var stat = sqlStatList[i], statSQL=stat.SQL;
|
||||
if (statSQL == null || statSQL == undefined) {
|
||||
continue;
|
||||
}
|
||||
var newStatSQL=statSQL.replace(/\"/g,"'").replace(/</g,"<").replace(/>/g,">");
|
||||
var newRow = sqlStatTable.insertRow(-1);
|
||||
html += "<tr>";
|
||||
|
||||
Executable → Regular
Executable → Regular
Executable → Regular
Executable → Regular
Reference in New Issue
Block a user