From 9af086151e6d9d3fe88f9e3e21797812a3e701ba Mon Sep 17 00:00:00 2001 From: dec05eba <0xdec05eba@gmail.com> Date: Mon, 14 May 2018 00:20:11 +0200 Subject: Replace files with sqlite Using sqlite because sqlite has transactions, storing/loading from files automatically, unloading data that is not accessed often. Removed cosmetic data (node name, username). They can be added using addData by the application that uses odhtdb instead. Database callback functions can now be called with stored data using database.loadNode function. TODO: Add local user storage (with password) back, it has been temorary disabled --- .vscode/c_cpp_properties.json | 3 +-- .vscode/settings.json | 5 ++++- 2 files changed, 5 insertions(+), 3 deletions(-) (limited to '.vscode') diff --git a/.vscode/c_cpp_properties.json b/.vscode/c_cpp_properties.json index e294ff4..73ef30c 100644 --- a/.vscode/c_cpp_properties.json +++ b/.vscode/c_cpp_properties.json @@ -40,7 +40,6 @@ ], "defines": [], "intelliSenseMode": "clang-x64", - "compileCommands": "${workspaceRoot}/compile_commands.json", "browse": { "path": [ "/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.1/../../../../include/c++/7.2.1", @@ -82,5 +81,5 @@ } } ], - "version": 3 + "version": 4 } \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json index 48e2d5a..aeb76fb 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -52,6 +52,9 @@ "type_traits": "cpp", "utility": "cpp", "valarray": "cpp", - "__config": "cpp" + "__config": "cpp", + "__nullptr": "cpp", + "hash_map": "cpp", + "hash_set": "cpp" } } \ No newline at end of file -- cgit v1.2.3