Sébastien Rombauts
|
4f32da182c
|
Add my Utils.h file to define nullptr on C++98 and C++03 compilers
|
2017-12-13 10:34:55 +01:00 |
|
Sébastien Rombauts
|
1a46a942b3
|
Merge pull request #140 from fekir/clean_destructors
Remove virtual destructor since there are no virtual methods or subclasses
|
2017-08-22 22:38:04 +02:00 |
|
fekir
|
ec8253236b
|
Remove virtual destructor since there are no virtual methods or subclasses
|
2017-08-22 18:32:40 +02:00 |
|
Sébastien Rombauts
|
5479cc09bf
|
Merge pull request #139 from fekir/clean_destructors
Remove unnecessary noexcept identifier from destructors
|
2017-08-22 11:07:03 +02:00 |
|
fekir
|
1fd32277c1
|
Remove unnecessary noexcept identifier from destructors
|
2017-08-21 22:01:21 +02:00 |
|
fekir
|
db156e6282
|
Remove noexcept from setBusyTimeout since it may throw (it is also documented)
|
2017-08-18 20:20:55 +02:00 |
|
Sébastien Rombauts
|
1a2c7cbba7
|
Update sqlite3 from 3.13 to 3.19.3 (2017-06-08)
Fix #125 Incompatibility in 3.19.0 using a new CMake variable SQLITE_USE_LEGACY_STRUCT
|
2017-07-18 14:55:25 +02:00 |
|
Timothy Rae
|
4c339031f0
|
Remove const from Database::isUnencrypted() return type
Compiling with gcc pedantic mode was leading to a warning: "type qualifiers ignored on function return type"
|
2017-03-31 12:12:46 +09:00 |
|
Jorrit Wronski
|
f5a25167a4
|
Debugging GCC build errors remotely is not fun...
|
2016-12-23 14:16:37 +01:00 |
|
Jorrit Wronski
|
823828fc9e
|
Made encryption test static and fixed the encryption docs
|
2016-12-23 13:52:59 +01:00 |
|
Jorrit Wronski
|
02f8fe19c0
|
Fixed some documentation and corrected the encryption detection.
|
2016-12-23 08:02:13 +01:00 |
|
Jorrit Wronski
|
685ff293c5
|
moved the key handling to a new function, added a check for an encrypted database
|
2016-12-22 17:52:06 +01:00 |
|
Jorrit Wronski
|
611ab22458
|
Added ability to open encrypted databases.
|
2016-12-01 23:37:22 +01:00 |
|
Mikhail Komarov
|
51885d7aa6
|
Redundant const specifier removed
|
2016-09-09 13:31:36 +03:00 |
|
Sébastien Rombauts
|
648ffe01e8
|
Add Database::VERSION, getLibVersion() and getLibVersionNumber()
Usefull to get SQLite3 version without including sqlite3.h in application code
|
2016-07-25 21:53:47 +02:00 |
|
Sébastien Rombauts
|
f77b707206
|
Revert recent switch from uint32_t/int64_t to use int/unsigned/long/long long and fix #93
|
2016-07-19 10:56:08 +02:00 |
|
Sébastien Rombauts
|
223c14139b
|
Minor comment style cleanups
|
2016-07-16 17:04:49 +02:00 |
|
Sébastien Rombauts
|
401b7361ed
|
Renamed errmsg() and getErrStr() methods to getErrorMsg() and getErrorStr()
|
2016-07-13 18:37:22 +02:00 |
|
Sébastien Rombauts
|
fd8f50bdd9
|
Remove last #include <sqlite3.h> from a header : add a few public constants
- Move #include <sqlite3.h> from Exception.h to a new corresponding .cpp
- Add SQLite::OPEN_READONLY...
|
2016-07-13 17:16:41 +02:00 |
|
Sébastien Rombauts
|
57d991b85e
|
Complete unit tests for Database::errmsg()
|
2016-07-08 17:41:35 +02:00 |
|
Sébastien Rombauts
|
fb5508921a
|
Move #include <sqlite3.h> from Database.h to the .cpp
|
2016-07-08 17:07:59 +02:00 |
|
Sébastien Rombauts
|
646d25ca95
|
Switch from sqlite3_int64 to int64_t
|
2016-07-05 11:05:16 +02:00 |
|
Sébastien Rombauts
|
b913932be2
|
Add a unit test for transactions
+ a few small minor new assert in other tests
|
2016-06-28 13:17:33 +02:00 |
|
Douglas Heriot
|
2cd31179f4
|
Use new Exception constructors everywhere appropriate.
Fix compiling with C++11.
Added public assessor methods to Exception class.
Added more Exception constructors as needed.
|
2016-05-26 12:34:14 +10:00 |
|
Sébastien Rombauts
|
c53d885393
|
Update copyright notice to 2016
|
2016-02-10 10:27:47 +01:00 |
|
Sébastien Rombauts
|
b7b440de5d
|
Fix #73 Wrong exception thrown by Database constructor
- switched from sqlite3_errmsg() to sqlite3_errstr() where applicable
|
2015-11-10 18:32:24 +01:00 |
|
Sébastien Rombauts
|
18aa9e4def
|
Fix a too long comment
|
2015-10-07 22:26:58 +02:00 |
|
Sébastien Rombauts
|
4bd8786e6a
|
Fix #65 Database::getHandle() exposes underlying SQLite handle
- needed to mix with other libraries or advance usage
|
2015-09-09 18:59:18 +02:00 |
|
Richard Jones
|
368049a613
|
Added support for extension loading
|
2015-05-08 09:47:12 +01:00 |
|
Sébastien Rombauts
|
09db07ccc7
|
Updated version to 1.0.0 changelog and copyright date
|
2015-05-03 23:32:57 +02:00 |
|
Sébastien Rombauts
|
e537195625
|
Fix #47 setBusyTimeout in constructor
- add corresponding Unit Test
|
2015-05-03 23:32:50 +02:00 |
|
Sébastien Rombauts
|
b9322fb0ab
|
Example now print SQLite version
|
2015-05-03 23:32:31 +02:00 |
|
Sébastien Rombauts
|
31dbcda9ad
|
Minor fixes to comments and an API
|
2015-05-03 23:32:14 +02:00 |
|
Sébastien Rombauts
|
acaed41465
|
setBusyTimeout() now uses check() and throw in case of error
- add unit test for setBusyTimeout()
- add unit test for in memory databases
|
2015-05-03 23:29:31 +02:00 |
|
Sébastien Rombauts
|
b84721aed3
|
Update copyright date in recently modified files
|
2015-03-08 22:53:33 +01:00 |
|
Sébastien Rombauts
|
bfdf288d3d
|
Fix #37 Last error code cannot be accessed
+ added corresponding basic unit tests
|
2015-03-08 15:05:03 +01:00 |
|
Sébastien Rombauts
|
268b111817
|
Added a Database::getTotalChanges() method and unit test
|
2014-03-13 21:59:06 +01:00 |
|
Sébastien Rombauts
|
78ea5b254f
|
Removed all meaningless (void) from method definitions
|
2014-03-13 21:56:28 +01:00 |
|
Sébastien Rombauts
|
3af95da230
|
Added comments and test arround Database::exec() method
|
2014-03-13 21:44:07 +01:00 |
|
Sébastien Rombauts
|
6d8b808320
|
Fixed many cpplint warnings
|
2014-03-07 13:12:31 +01:00 |
|
Sébastien Rombauts
|
7bfaafecba
|
Moved include files out of the src/ dir, to an include/ dir
+ started a void test file
|
2014-03-04 23:04:38 +01:00 |
|