Запрос изменен на нативный: sql -> execute
This commit is contained in:
parent
0fc56e7c04
commit
578e6a3358
2 changed files with 8 additions and 8 deletions
|
|
@ -198,7 +198,7 @@ public:
|
|||
/// BEGIN IMMEDIATE.
|
||||
void beginImmediate()
|
||||
{
|
||||
sql("BEGIN IMMEDIATE");
|
||||
_db.execute("BEGIN IMMEDIATE");
|
||||
}
|
||||
|
||||
/// COMMIT.
|
||||
|
|
|
|||
14
test/app.d
14
test/app.d
|
|
@ -72,13 +72,13 @@ void main()
|
|||
}
|
||||
|
||||
// Удаление файла
|
||||
// if (storage.deleteFile("example_file"))
|
||||
// writeln("Файл example_file удален.");
|
||||
if (storage.deleteFile("example_file"))
|
||||
writeln("Файл example_file удален.");
|
||||
|
||||
// // Проверка: снимки удалены
|
||||
// auto remaining = storage.getSnapshots("example_file");
|
||||
// assert(remaining.length == 0);
|
||||
// writeln("Все снимки удалены.");
|
||||
// Проверка: снимки удалены
|
||||
auto remaining = storage.getSnapshots("example_file");
|
||||
assert(remaining.length == 0);
|
||||
writeln("Все снимки удалены.");
|
||||
|
||||
// writeln("Версия библиотеки: ", storage.getVersion());
|
||||
writeln("Версия библиотеки: ", storage.getVersion());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue