Sébastien Rombauts
74c8627df1
Update changelog
2021-07-25 10:46:56 +02:00
Sébastien Rombauts
ca7c0e5f1a
Added Database and Statement method getChanges()
...
Fix #331 How to get the number of updated/deleted rows?
Fix cpplint warnings about line size with a NOLINT comment when better to keep oneline
2021-07-25 10:46:56 +02:00
Sébastien Rombauts
0c46d86e0d
Merge pull request #324 Fix Readme installation instructions from franklange/fix_readme_install
2021-03-26 11:41:34 +01:00
Frank Lange
2383860654
Fix Readme installation instructions
...
Removes manually adding the include directory from the Readme install instructions. The manual step is not needed since the include dir is already added on the library target by the current CMake configuration.
2021-03-20 14:26:39 +01:00
Sébastien Rombauts
f6b32259f2
Fix build with system provided lib older than SQlite 3.31.0 from 2020-01-22
2021-01-18 13:05:56 +01:00
Sébastien Rombauts
e779e68c78
Merge pull request #305 Add other constants that work with sqlite3_open_v2 from LuAPi/more-flags
2021-01-18 12:35:53 +01:00
Ivan Shynkarenka
114f89de30
Fix #317 Visual Studio 2019 compilation error ('SQLite::Database::Database': delegating constructor calls itself) ( #318 )
...
* Visual Studio 2019 compilation error ('SQLite::Database::Database': delegating constructor calls itself) #317
* Visual Studio 2019 compilation error ('SQLite::Database::Database': delegating constructor calls itself) #317
* Visual Studio 2019 compilation error ('SQLite::Database::Database': delegating constructor calls itself) #317
2021-01-09 08:57:37 +01:00
Sébastien Rombauts
ef650e06d6
Update Travis CI config to remove a deprecation warning and old TODOs
2021-01-06 18:35:26 +01:00
Sébastien Rombauts
cac0000ada
Merge #299 Added Savepoint support from catalogm
2021-01-06 11:07:44 +01:00
Sébastien Rombauts
a9ef8c9ae4
Update changelog
2021-01-06 10:58:32 +01:00
Sébastien Rombauts
9b6c0cf6ea
Merge pull request #295 Compile internal SQLite library with -ffunction-sections from smichaku/smichaku/sqlite-function-sections
2021-01-06 10:53:43 +01:00
Sébastien Rombauts
79b5d0dfe9
Update SQLite3 from 3.33.0 to 3.34.0 (2020-12-01)
2021-01-06 10:45:46 +01:00
Sébastien Rombauts
93580bda24
Fix the compilation of example2 on latest MSVC
2021-01-06 10:41:20 +01:00
Sébastien Rombauts
c101d4490f
Updated SQLite3 from 3.33.0 to 3.34.0 (2020-12-01)
2021-01-06 10:02:45 +01:00
Patrick Servello
81e5a1f910
Add Database constructor for filesystem::path #296 ( #314 )
...
* Add Database constructor for filesystem::path #296
* Fixed incorrect MSVC version value for C++17
* Updated another incorrect version string
* Updated MSVC compiler check again. The <filesystem> header wasn't transitioned from std::experimental until MSVC 15.7
* Changed version check to look at c++ version no MSVC version
2021-01-06 08:41:32 +01:00
Sébastien Rombauts
080bfbda57
Merge pull request #313 [CMake] Add SQLITECPP_INCLUDE_SCRIPT option from past-due/master
2021-01-04 09:04:49 +01:00
past-due
113d43f561
[CMake] Add SQLITECPP_INCLUDE_SCRIPT option
2020-12-11 18:41:43 -05:00
Sébastien Rombauts
3fcb352c3a
Update changelog
2020-11-27 18:40:52 +01:00
Sébastien Rombauts
845f315ab3
Merge pull request #311 Add Database::tryExec() from kcowolf/master
2020-11-25 17:25:30 +01:00
Sébastien Rombauts
721b245045
Merge pull request #308 Fix build warning due to string truncation from stauffer-garmin/master
2020-11-18 08:36:34 +01:00
Sébastien Rombauts
3e354046e1
Merge pull request #236 Disable explicit setting of MSVC runtime from BioDataAnalysis/emmenlau_remove_msvc_runtime_setting
2020-11-18 08:27:50 +01:00
Benjamin Stauffer
1d0d8fe446
Add Database::tryExec()
...
Similar to Statement::tryExecuteStep(), allows calls to sqlite3_exec()
with the caller assuming responsibility for checking and handling the
returned status.
2020-11-12 02:05:05 -06:00
Ben Stauffer
0ae04a60d9
Fix build warning due to string truncation
...
strncpy gives an "output may be truncated" warning in newer versions of
GCC due to *pBuf being larger (100) than *pHeaderStr (16). Use memcpy
and explicitly null-terminate the target string.
2020-11-09 17:13:50 -06:00
Luke Pitt
503afc396c
Add other constants that work with sqlite3_open_v2
2020-10-08 12:48:42 +01:00
Sébastien Rombauts
adb7e7c489
Merge pull request #300 Update SQLite3 from 3.32.3 to 3.33.0 (2020-08-14) from catalogm/update_sqlite3
2020-09-12 21:06:44 +02:00
Kelvin Hammond
61bdad3aae
Added test for Savepoint, calling rollback after release or commit
2020-09-10 19:03:00 -04:00
Kelvin Hammond
ee6762c0d9
Added: Savepoint support
2020-09-10 18:59:08 -04:00
Kelvin Hammond
9875a7591a
Updated SQLite3 from 3.32.3 to 3.33.0 (2020-08-14)
2020-09-10 18:54:32 -04:00
Micha Kalfon
6f9075d511
Compile internal SQLite library with -ffunction-sections
...
When building with SQLITECPP_INTERNAL_SQLITE=ON the SQLite amalgamation
source is used for generating the library. Using one big source file
means all the library code will be put in a single section. When
building statically linked executables the entire section will be
linked even if a small portion of the library is actually used.
This commit addresses this issue by setting the -ffunction-sections
compiler option when building the library. As each function is placed in
a section of its own the linker, when passed the --gc-sections, will
throw away unused sections (functions) and reduce the executable size.
2020-08-23 13:05:25 +03:00
Sébastien Rombauts
4e3d36af2d
Release 3.1.1
2020-08-19 18:02:41 +02:00
Sébastien Rombauts
a6bb7bcc8f
Merge pull request #293 Remove FindSQLiteCpp.cmake from sum01/fix_283
2020-08-19 14:24:04 +02:00
sum01
72c4983056
Remove FindSQLiteCpp.cmake
...
It's not needed since the automatically generated file
SQLiteCppConfig.cmake already exists.
Added a small section to the README to explain how it can be used when
this library is installed to the system.
Fixes #283
2020-08-18 15:15:53 -04:00
Sébastien Rombauts
cc2e488d1a
Merge pull request #291 Add OPEN_FULLMUTEX flag into Database.h file from rwrx/fullmutex-flag
2020-08-12 00:03:55 +02:00
Sébastien Rombauts
b93de0a42e
Merge pull request #292 Fix compilation if using SQLITE_HAS_CODEC from sum01/fix_sqlcipher_compile
2020-08-11 22:00:09 +02:00
sum01
15b307a099
Fix compilation if using SQLITE_HAS_CODEC
...
It was failing to compile since it wasn't linking against the sqlcipher
library if using the system libraries. This fix simply links the library
& includes the header path.
PkgConf is optional in this process, and it will fall back to regular
search for header & lib if it's not installed.
2020-08-11 15:20:45 -04:00
Tomas Vajda
27f2cd2a7b
Add OPEN_FULLMUTEX flag into Database.h file
2020-08-11 18:40:08 +02:00
Sébastien Rombauts
80b58170a8
Release 3.1.0
2020-08-11 17:05:57 +02:00
Sébastien Rombauts
c88a0adafd
Update SQLite3 from 3.32.1 to 3.32.3 (2020-06-18)
2020-08-11 16:59:37 +02:00
Sébastien Rombauts
d2be4c84bf
Merge pull request #287 Fixed installation on other than Ubuntu distributions from xvitaly/fix-installation
2020-08-03 16:07:32 +02:00
Sébastien Rombauts
36cf2cb57b
Merge pull request #288 Allow building of sqlite JSON1 extension when building internal sqlite library from zxey/feature-json1-extension
2020-08-03 16:06:20 +02:00
zxey
0d2294e36f
Allow building of sqlite JSON1 extension when building internal sqlite library
2020-07-29 14:38:26 +02:00
Vitaly Zaitsev
f9caf62ac8
Fixed installation on other than Ubuntu distributions.
...
Signed-off-by: Vitaly Zaitsev <vitaly@easycoding.org>
2020-07-21 11:44:02 +02:00
Sébastien Rombauts
9106e8da0a
Add CMake option to toggle stack protection #286 from chrisdalke/master
...
Add CMake option to toggle stack protection
2020-07-12 09:28:17 +02:00
Chris Dalke
1aa82864ce
Add CMake option to toggle stack protection hardening
2020-07-11 23:09:38 -04:00
Sébastien Rombauts
f757b640b1
Merge pull request #284 Add SQLITE_OPEN_FULLMUTEX flag from rwrx/fullmutex-flag
2020-06-05 22:48:53 +02:00
Tomas
8ecadfd629
Add SQLITE_OPEN_FULLMUTEX flag
2020-06-04 14:45:47 +02:00
Sébastien Rombauts
6a5a24f9a9
Fix FindSQLiteCpp for find_package(SQLiteCpp) to work without any requested version
2020-06-01 16:23:22 +02:00
Sébastien Rombauts
7edd337591
Update SQLite3 from 3.30.1 to 3.32.1 (2020-05-25)
2020-06-01 13:25:50 +02:00
Peter Bell
afa11d94e0
Link SQLite3 publicly
2020-06-01 11:50:06 +01:00
Sébastien Rombauts
f0cd9e3586
Merge pull request #278 from sum01/fix_cmake_config
...
Add missing Threads dependency to Config.cmake.in
2020-05-14 21:02:59 +02:00