Skip to content

Commit 3cc39b8

Browse files
authored
Merge branch 'master' into feature/add_get_total_count_for_search
2 parents 76559bf + df6cdd8 commit 3cc39b8

File tree

1 file changed

+3
-3
lines changed
  • libindy/src/services/wallet/storage/default

1 file changed

+3
-3
lines changed

libindy/src/services/wallet/storage/default/mod.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ use services::wallet::language;
1919
use super::{StorageIterator, WalletStorageType, WalletStorage, StorageEntity, EncryptedValue, Tag, TagName, FetchOptions};
2020
use super::super::SearchOptions;
2121

22-
22+
const _SQLITE_DB: &str = "sqlite.db";
2323
const _PLAIN_TAGS_QUERY: &str = "SELECT name, value from tags_plaintext where item_id = ?";
2424
const _ENCRYPTED_TAGS_QUERY: &str = "SELECT name, value from tags_encrypted where item_id = ?";
2525
const _CREATE_SCHEMA: &str = "
@@ -227,7 +227,7 @@ impl SQLiteStorageType {
227227

228228
fn create_path(name: &str) -> std::path::PathBuf {
229229
let mut path = EnvironmentUtils::wallet_path(name);
230-
path.push("sqlite.db");
230+
path.push(_SQLITE_DB );
231231
path
232232
}
233233
}
@@ -760,7 +760,7 @@ mod tests {
760760

761761
fn _db_file_path() -> std::path::PathBuf {
762762
let mut db_file_path = _wallet_base_path();
763-
db_file_path.push("sqlite.db");
763+
db_file_path.push(_SQLITE_DB );
764764
db_file_path
765765
}
766766

0 commit comments

Comments
 (0)