1
0
Fork 0

Fix :q to quit.

This commit is contained in:
Amjith Ramanujam 2014-12-14 12:40:35 -08:00
parent f61a978800
commit 32fbc42b28
2 changed files with 7 additions and 0 deletions

View File

@ -26,5 +26,6 @@ def _multiline_exception(text):
text.endswith(';') or # Ended with a semi-colon
(text == 'exit') or # Exit doesn't need semi-colon
(text == 'quit') or # Quit doesn't need semi-colon
(text == ':q') or # To all the vim fans out there
(text == '') # Just a plain enter without any text
)

View File

@ -16,6 +16,12 @@
* \c amjith
* \q
* Simple execution:
1 Execute a simple 'select * from users;' test taht will pass.
2 Execute a syntax error: 'insert into users ( ;'
3 Execute a simple test from step 1 again to see if it still passes.
* Change the database and try steps 1 - 3.
* Test smart-completion
* Sele - Must auto-complete to SELECT
* SELECT * FROM - Must list the table names.