refactor: Move the Hlc generation from Dart to the database (#20)
This commit is contained in:
parent
b747c2e785
commit
68bc3bf73f
1 changed files with 548 additions and 418 deletions
|
|
@ -25,10 +25,7 @@ class CrdtBenchmarkDatabase extends _$CrdtBenchmarkDatabase {
|
|||
}
|
||||
|
||||
return CrdtBenchmarkDatabase(
|
||||
NativeDatabase.opened(
|
||||
sqlite3.open(file.path),
|
||||
setup: crdtEnabled ? registerHlcFunction : null,
|
||||
),
|
||||
NativeDatabase.opened(sqlite3.open(file.path)),
|
||||
crdtEnabled: crdtEnabled,
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue