Commit 61b4b3e1 by 陶光胜

取数平台调整

parent 01bf55e4
...@@ -188,7 +188,7 @@ public class FreeQueryController { ...@@ -188,7 +188,7 @@ public class FreeQueryController {
if(sql.indexOf("information_schema.columns") > 0){ if(sql.indexOf("information_schema.columns") > 0){
sql = "SELECT tmpTable.* FROM (" + sql + ") AS tmpTable LIMIT 1000"; sql = "SELECT tmpTable.* FROM (" + sql + ") AS tmpTable LIMIT 1000";
} else { } else {
if(sql.indexOf("limit")>0 || sql.indexOf("LIMIT")>0){ if(sql.indexOf("limit ")>0 || sql.indexOf("LIMIT ")>0){
int start = 0; int start = 0;
if(sql.indexOf("limit")>0){ if(sql.indexOf("limit")>0){
start = sql.indexOf("limit") + 6; start = sql.indexOf("limit") + 6;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment