Изменены типы данных
This commit is contained in:
parent
e8f29b6130
commit
f749e6686d
2 changed files with 5 additions and 5 deletions
|
@ -27,8 +27,8 @@ public:
|
|||
this(
|
||||
string database,
|
||||
bool zstd = false,
|
||||
int busyTimeout = 3000,
|
||||
ubyte maxRetries = 3,
|
||||
size_t busyTimeout = 3000,
|
||||
size_t maxRetries = 3,
|
||||
size_t minSize = 256,
|
||||
size_t normalSize = 512,
|
||||
size_t maxSize = 1024,
|
||||
|
|
|
@ -14,7 +14,7 @@ final class DBLite : Sqlite
|
|||
{
|
||||
private:
|
||||
string _dbPath;
|
||||
ubyte _maxRetries;
|
||||
size_t _maxRetries;
|
||||
// _scheme
|
||||
mixin(import("scheme.d"));
|
||||
|
||||
|
@ -25,7 +25,7 @@ private:
|
|||
}
|
||||
|
||||
string msg;
|
||||
ubyte tryNo = _maxRetries;
|
||||
size_t tryNo = _maxRetries;
|
||||
|
||||
while (tryNo) {
|
||||
try {
|
||||
|
@ -90,7 +90,7 @@ private:
|
|||
}
|
||||
|
||||
public:
|
||||
this(string database, int busyTimeout, ubyte maxRetries)
|
||||
this(string database, size_t busyTimeout, size_t maxRetries)
|
||||
{
|
||||
_dbPath = database;
|
||||
super(database);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue