Cleaning/refactoring of bunch of stacked/suffix/comment stuff (e.g.

This commit is contained in:
Miroslav Stampar
2012-09-26 11:27:43 +02:00
parent 6bc5f44b20
commit 687f3991de
6 changed files with 47 additions and 45 deletions

View File

@@ -466,9 +466,8 @@ def goStacked(expression, silent=False):
if conf.direct:
return direct(expression)
comment = queries[Backend.getIdentifiedDbms()].comment.query
query = agent.prefixQuery(";%s" % expression)
query = agent.suffixQuery(query, comment)
query = agent.suffixQuery(query)
payload = agent.payload(newValue=query)
Request.queryPage(payload, content=False, silent=silent, noteResponseTime=False, timeBasedCompare=True)