On 1 Sep 2017, at 9:24pm, Papa <p...@arbolone.ca> wrote:
> database_name = "F:\\Temp\\test_database.jdb"; and later > sql_statement_request = database_name + L" \"VACUUM; \" "; > // Compiled the SQL statement into a byte-code > rc = sqlite3_prepare_v2(db, > sql_statement_request.data(), > -1, > &binary_sql_statement, > NULL); you appear to be trying to execute a command with the database name in, something like > "F:\\Temp\\test_database.jdb "VACUUM" Why are you trying to execute a command with the database name in ? The command you want is just VACUUM. You don’t need any quotes around it and you don’t need the database name as part of the command. Simon. _______________________________________________ sqlite-users mailing list sqlite-users@mailinglists.sqlite.org http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users