76 Commits

Author SHA1 Message Date
ncr
99db2f8bdb Added conditional support for extension loading 2015-05-16 17:42:45 +03:00
Richard Jones
368049a613 Added support for extension loading 2015-05-08 09:47:12 +01:00
Sébastien Rombauts
318f742b5c Revert use sqlite_errstr instead of sqlite3_errmsg that fixed #48
- sqlite3_errstr() is new from SQLite v3.7.15, not supported on Ubuntu 12.04
   which is what is used for continuous integration with Travis CI
 - Only case of error is SQLITE_BUSY: "database is locked" (some statements are not finalized)
   so use this generic string instead
2015-05-06 09:36:15 +02:00
Onur Aslan
e55fffefd7 Use sqlite_errstr instead of sqlite3_errmsg
mpSQLite is free'd with sqlite3_close. It's no more accesible.
Fixes: #48
2015-05-06 00:22:43 +03: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
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
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
Sébastien Rombauts
b0e9104047 Using the C++11 "noexcept" keyword instead of "throw()"
- added a compatibility #define for older compilers
2014-02-26 18:36:18 +01:00
Wesley J. Landaker
4dfb3cc4b0 Support opening a database with a custom VFS. 2014-02-18 09:18:40 -07:00
Sébastien Rombauts
d6f5029f6c Some small cleanup and uniformisation arround the new createFunction() API 2014-02-06 22:48:35 +01:00
AlexZ
de04b3c2e8 added wrapper for sqlite3_create_function_v2 2014-02-06 09:53:08 -06:00
r4d2
905c3d7bb5 std::string API (implementing issue #13 2014-01-12 00:15:10 +01:00
Sébastien Rombauts
c84e5122d3 Renamed Assert.h to Assertion.h for Win32 build
- MSVC was confused about cassert/assert.h vs Assert.h
2013-11-01 23:38:52 +01:00
Sébastien Rombauts
ecd22dc112 Fix issue #7 : SQLITECPP_ENABLE_ASSERT_HANDLER
- SQLITECPP_ASSERT() can call a user defined SQLite::assertion_failed() handler.
2013-11-01 21:33:43 +01:00
Sébastien Rombauts
8bf7339e6b Include "Exception.h" only on selected cpp files 2013-11-01 18:47:28 +01:00
Sébastien Rombauts
4d828fe6b1 Fixed two SQLiteC++ Coverity Issues in Database::execAndGet() and Database::tableExists()
- adding a (void) cast in front of query.executeStep()
- adding comments explaining how errors are handled in this thow methods

Thank you to Donald Jones and Mark Pashley of Ubiquisys for reporting this to me.
2013-04-27 13:42:48 +02:00
Sébastien Rombauts
1f55ddbbdb Cleaning of include dependencies 2013-04-07 18:16:31 +02:00
Sébastien Rombauts
833aeead7a Fix a bug for the "brief" Doxygen tag of all files
- patched by moving the @ingroup command before the @brief one
2013-03-16 17:50:37 +01:00
Sébastien Rombauts
83a3ca6f37 Doxygen group name without the trailing ++ 2013-03-15 15:46:11 +01:00
Sébastien Rombauts
4ee32ec736 Doxygen group name without the trailing "++" 2013-03-15 15:32:41 +01:00
Sebastien Rombauts
1a82510821 Reorganizing the directory, the sources and the msvc files 2013-03-10 12:38:50 +01:00