Bug report #6842

db manager error when running > 1 query

Added by Giovanni Manghi about 11 years ago. Updated about 11 years ago.

Assignee:Giuseppe Sucameli
Category:DB Manager
Affected QGIS version:master Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:Yes Copied to github as #:15978


Traceback (most recent call last):
File "C:\\OSGeo4W\\apps\\qgis-dev\\python\\plugins\\db_manager\\dlg_sql_window.py",
line 117, in executeSql
model = self.db.sqlResultModel( sql, self )
File "C:\\OSGeo4W\\apps\\qgis-dev\\python\\plugins\\db_manager\\db_plugins\\spatialite\\plugin.py",
line 106, in sqlResultModel
return SLSqlResultModel(self, sql, parent)
File "C:\\OSGeo4W\\apps\\qgis-dev\\python\\plugins\\db_manager\\db_plugins\\data_model.py",
line 133, in init
c = self.db._execute(None, unicode(sql))
File "C:\\OSGeo4W\\apps\\qgis-dev\\python\\plugins\\db_manager\\db_plugins\\connector.py",
line 76, in _execute
Warning: You can only execute one statement at a time.

after that qgis become not responsive and must be killed.

Associated revisions


#1 Updated by Giuseppe Sucameli about 11 years ago

  • Status changed from Open to Closed

Also available in: Atom PDF