mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-01-19 10:20:17 -06:00
169eccbebb63329cfbff49f52bab93e7ffaa5d57
Remove any single line comments from the SQL queries to fix all those problems ocurring when a query ending with such a comment is inserted into the COUNT query. Executing the query SELECT * FROM table -- comment would otherwise lead to this one being executed as well SELECT COUNT(*) FROM (SELECT * FROM table -- comment); This is obviously invalid SQL and therefore returns no data, sometimes even crashing the application, even though the original statement by the user is perfectly fine. The code used in this commit is a bit of a workaround and should be replaced as soon as there is a more complete SQL parser supporting SQL comments in our grammar tools. Closes #31.
======================= SQLite Database Browser ======================= This is a fork from the SF project which seems to be stagnant. Old Project ----------- - http://sqlitebrowser.sourceforge.net - https://sourceforge.net/projects/sqlitebrowser/ What it is ---------- (taken from the website linked to above; it's still true - now even more) SQLite Database Browser is a freeware, public domain, open source visual tool used to create, design and edit database files compatible with SQLite. It is meant to be used for users and developers that want to create databases, edit and search data using a familiar spreadsheet-like interface, without the need to learn complicated SQL commands. What's been done since then --------------------------- - Qt3Support was removed - Recent files menu added - Improved UI, making it more modern, replacing some dialogs etc. - Syntax highlighting for SQL code - Cleaned up the code, reducing the SLOC quite a bit - Added basic support for triggers and views - Added pragma editing - Added BLOB support - Added a new filter row for searching - Improved performance when opening large tables - Extended the SQL tab - Added SQLite extension support - Fixed a ton of bugs - Probably more All in all a fair amount of the code has been rewritten in order to regain maintainability. Based on this quite a few bugs could be fixed and some features added. What's still to do ------------------ - Even more code cleanup - Further improvement of the UI, adding more features and making it easier to use - Feel free to add more issues at https://github.com/rp-/sqlitebrowser/issues Windows binaries ---------------- Windows binaries can be downloaded from here: http://rp.oldsch00l.com/sqlitebrowser/ MacOS X ------- SQLite Database Browser works pretty well on MacOS X. - OSX 10.7 (Lion) and 10.8 (Mountain Lion) are tested and known to work Building on OSX is simple, but depends on SQLite and Qt to be installed using Homebrew first:: $ brew install sqlite --with-functions $ brew install qt --with-qt3support Then it's just a matter of:: $ git clone https://github.com/rp-/sqlitebrowser.git $ cd sqlitebrowser $ qmake $ make $ mv src/sqlitebrowser.app /Applications/ An icon for "sqlitebrowser" should now be in your main OSX Applications list, ready to launch.
Description
Official home of the DB Browser for SQLite (DB4S) project. Previously known as "SQLite Database Browser" and "Database Browser for SQLite". Website at:
Languages
C++
95.7%
C
2.6%
SCSS
0.7%
CMake
0.6%
QMake
0.2%
Other
0.1%