forked from dlang/cdcdb
Запрос изменен на нативный: 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.
|
/// BEGIN IMMEDIATE.
|
||||||
void beginImmediate()
|
void beginImmediate()
|
||||||
{
|
{
|
||||||
sql("BEGIN IMMEDIATE");
|
_db.execute("BEGIN IMMEDIATE");
|
||||||
}
|
}
|
||||||
|
|
||||||
/// COMMIT.
|
/// COMMIT.
|
||||||
|
|
|
||||||
14
test/app.d
14
test/app.d
|
|
@ -72,13 +72,13 @@ void main()
|
||||||
}
|
}
|
||||||
|
|
||||||
// Удаление файла
|
// Удаление файла
|
||||||
// if (storage.deleteFile("example_file"))
|
if (storage.deleteFile("example_file"))
|
||||||
// writeln("Файл example_file удален.");
|
writeln("Файл example_file удален.");
|
||||||
|
|
||||||
// // Проверка: снимки удалены
|
// Проверка: снимки удалены
|
||||||
// auto remaining = storage.getSnapshots("example_file");
|
auto remaining = storage.getSnapshots("example_file");
|
||||||
// assert(remaining.length == 0);
|
assert(remaining.length == 0);
|
||||||
// writeln("Все снимки удалены.");
|
writeln("Все снимки удалены.");
|
||||||
|
|
||||||
// writeln("Версия библиотеки: ", storage.getVersion());
|
writeln("Версия библиотеки: ", storage.getVersion());
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue