Trivial patch (display of used user queries)

This commit is contained in:
Miroslav Stampar
2018-08-17 19:45:34 +02:00
parent b899ab9eb3
commit 03e4741a69
3 changed files with 4 additions and 3 deletions

View File

@@ -88,6 +88,7 @@ class Custom:
try:
query = raw_input("sql-shell> ")
query = getUnicode(query, encoding=sys.stdin.encoding)
query = query.strip("; ")
except KeyboardInterrupt:
print
errMsg = "user aborted"