-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crash on SQL queries - virtual layers #27099
Comments
Author Name: Jürgen Fischer (@jef-n)
|
Author Name: Stephen Knox (Stephen Knox) I can't reproduce a crash on the queries flagged, although they don't work, but that isn't surprising since they don't seem to be valid SQL. Perhaps a close candidate as time has moved on? |
Author Name: Giovanni Manghi (@gioman)
|
Author Name: Regis Haubourg (@haubourg) Tested here with latest nightlies. I get "database error" messages in a popup but no QGIS crash. For sure the error message are not really informative but this would be more a feature request to improve that part of DBmanager (would be really nice to have verbose messages from spatialite / SQLITE) Please reopen if the crash still occurs
|
Author Name: Regis Haubourg (@haubourg)
|
Author Name: Bugmi Gnott (Bugmi Gnott)
Original Redmine Issue: 19271
Affected QGIS version: 3.2
Redmine category:db_manager
Steps to reproduce:
New project
New temporary vector (name "asd", geometry: LineString)
Draw a line
Menu Database -> DB Manager, click on Virtual Layers -> QGIS layer -> asd, open the SQL window
Run query: "SELECT * FROM asd;", query should run OK
Run query: "SELECT geometry FROM asd;", query should run OK
Run query: "SELECT GLength(geometry) FROM asd;", query should run OK
Run query: "SELECT *", crash occurs
Run query: "SELECT geometry_n FROM asd;", crash occurs
Run query: "SELECT NoSuchFunction(geometry) FROM asd;", crash occurs
See attached file for stack trace
The text was updated successfully, but these errors were encountered: