andialbrecht / crunchyfrog

Head over to RunSQLRun, the successor of CrunchyFrog
http://runsqlrun.org
GNU General Public License v3.0
4 stars 2 forks source link

critical - crunchyfrog starts but doesn't exec sql #27

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. start the program
2. write sql statement
3. execute

What is the expected output? What do you see instead?
table contents

What version of the product are you using? On what operating system? Python
version?
mainline
0.3.2
gentoo
python-2.5.2

Please provide any additional information below.
you need to decide between split_str defined in cf/sqlparse/__init__.py
and sqlsplit that you use in cf/ui/editor.py
After changing works ok.
regards
j

Original issue reported on code.google.com by abdulec...@gmail.com on 31 Jan 2009 at 12:28

GoogleCodeExporter commented 9 years ago
Thanks for reporting. The bug occurs in two situations:

1) When a database backend is used that is not thread-safe.

2) On the explain view.

Presumably 1) applies to the SQLite backend only. A workaround for 1) is to 
disable
sql splitting either by using the preferences dialog or the context menu in the
editor or to change the source as described above.

Original comment by albrecht.andi on 31 Jan 2009 at 1:02

GoogleCodeExporter commented 9 years ago

Original comment by albrecht.andi on 31 Jan 2009 at 1:04

GoogleCodeExporter commented 9 years ago
There was a regression with the sqlparser module. Fixed in r498.

Original comment by albrecht.andi on 1 Feb 2009 at 7:31

GoogleCodeExporter commented 9 years ago
Issue 31 has been merged into this issue.

Original comment by albrecht.andi on 3 Feb 2009 at 12:46

GoogleCodeExporter commented 9 years ago
Issue 33 has been merged into this issue.

Original comment by albrecht.andi on 5 Feb 2009 at 10:49

GoogleCodeExporter commented 9 years ago
Issue 35 has been merged into this issue.

Original comment by albrecht.andi on 9 Feb 2009 at 10:33