Hello,

I can't run VACUUM on my database file.

I tried this:
Qt Code:
  1. QSqlQuery query;
  2. query.exec("VACUUM");
To copy to clipboard, switch view to plain text mode 
But I get the following message:
Qt Code:
  1. cannot VACUUM - SQL statements in progress Unable to fetch row
To copy to clipboard, switch view to plain text mode 
Do you have an idea to solve this problem?

Thanks