Updated sqlite3 preparatory to adding the submodule wxSwlite3

Then got cold feet about wxSqlite3
This commit is contained in:
Cheng 2022-05-08 12:17:46 +10:00
parent bb8b3773c9
commit 3106ce3c73
No known key found for this signature in database
GPG Key ID: D51301E176B31828
5 changed files with 31165 additions and 15797 deletions

3
.gitignore vendored
View File

@ -1,3 +1,4 @@
sqlite3/sqlite-doc/
*.bat *.bat
## Ignore Visual Studio temporary files, build results, and ## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons. ## files generated by popular Visual Studio add-ons.
@ -268,4 +269,4 @@ paket-files/
# Python Tools for Visual Studio (PTVS) # Python Tools for Visual Studio (PTVS)
__pycache__/ __pycache__/
*.pyc *.pyc

View File

@ -14,7 +14,7 @@
#include <memory> // for shared_ptr, unique_ptr #include <memory> // for shared_ptr, unique_ptr
#include <span> #include <span>
#include "ISqlite3.h" #include "ISqlite3.h"
#include "sqlite3.h" #include "sqlite3/sqlite3.h"
static auto error_message(int rc, sqlite3* pdb) { static auto error_message(int rc, sqlite3* pdb) {
return std::string("Sqlite3 Error: ") + sqlite3_errmsg(pdb) + ". Sqlite3 error number=" + std::to_string(rc); return std::string("Sqlite3 Error: ") + sqlite3_errmsg(pdb) + ". Sqlite3 error number=" + std::to_string(rc);

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -132,7 +132,7 @@
<ClInclude Include="rotime.h" /> <ClInclude Include="rotime.h" />
<ClInclude Include="secrets.h" /> <ClInclude Include="secrets.h" />
<ClInclude Include="slash6.h" /> <ClInclude Include="slash6.h" />
<ClInclude Include="sqlite3.h" /> <ClInclude Include="sqlite3/sqlite3.h" />
<ClInclude Include="stdafx.h" /> <ClInclude Include="stdafx.h" />
<ClInclude Include="welcome_to_rhocoin.h" /> <ClInclude Include="welcome_to_rhocoin.h" />
</ItemGroup> </ItemGroup>
@ -157,7 +157,7 @@
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">NotUsing</PrecompiledHeader> <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">NotUsing</PrecompiledHeader>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">NotUsing</PrecompiledHeader> <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">NotUsing</PrecompiledHeader>
</ClCompile> </ClCompile>
<ClCompile Include="sqlite3.c"> <ClCompile Include="sqlite3/sqlite3.c">
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">NotUsing</PrecompiledHeader> <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">NotUsing</PrecompiledHeader>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">NotUsing</PrecompiledHeader> <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">NotUsing</PrecompiledHeader>
</ClCompile> </ClCompile>