mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-07-24 12:10:49 +00:00
Update submodules
This commit is contained in:
parent
e22784b87a
commit
e672a30f90
@ -205,6 +205,23 @@ final class SharedApplicationContext {
|
||||
precondition(!testIsLaunched)
|
||||
testIsLaunched = true
|
||||
|
||||
do {
|
||||
let documentsPath = NSSearchPathForDirectoriesInDomains(.documentDirectory, .userDomainMask, true)[0]
|
||||
let valueBox = SqliteValueBox(basePath: "\(documentsPath)/test_db", queue: Queue.mainQueue(), encryptionParameters: nil, upgradeProgress:{ _ in })
|
||||
let table = ValueBoxTable(id: 1, keyType: .int64, compactValuesOnCreation: false)
|
||||
let key = ValueBoxKey(length: 8)
|
||||
key.setInt64(0, value: 1234567)
|
||||
valueBox.begin()
|
||||
if valueBox.get(table, key: key) != nil {
|
||||
print("test_db: found")
|
||||
} else {
|
||||
print("test_db: not found")
|
||||
}
|
||||
valueBox.set(table, key: key, value: MemoryBuffer())
|
||||
valueBox.commit()
|
||||
valueBox.begin()
|
||||
}
|
||||
|
||||
let launchStartTime = CFAbsoluteTimeGetCurrent()
|
||||
|
||||
let statusBarHost = ApplicationStatusBarHost()
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit d2592223e0e82ddb4de5b94a2b40bbb6e91e0c7d
|
||||
Subproject commit a1aecb45d3320ecedf70d6a6f160a402fd4ee437
|
@ -1 +1 @@
|
||||
Subproject commit 7d2a5bb3fbf6353850833c178c09060798900b8e
|
||||
Subproject commit 5393f3bb9779a41e3fb7048203549de3167937a9
|
@ -1 +1 @@
|
||||
Subproject commit 9b78887eafa3afbcfd405027da02d95d95fd1c8d
|
||||
Subproject commit 78decc81bf25cf36ad1b4a9398aa11cb195db9c5
|
Loading…
x
Reference in New Issue
Block a user