Skip to content

Commit

Permalink
no message
Browse files Browse the repository at this point in the history
  • Loading branch information
cookie committed Jan 8, 2019
1 parent 3dbcb17 commit ae8e9ec
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/core/api/serachsql.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,8 +179,6 @@ def replace_limit(sql, limit):

if sql[-1] != ';':
sql += ';'
if sql.startswith('show') == -1:
return sql
sql_re = re.search(r'limit\s.*\d.*;', sql.lower())
length = ''
if sql_re is not None:
Expand Down

0 comments on commit ae8e9ec

Please sign in to comment.