commit c4255c9e3ba540c11a815f93ec536e83c09839de
Author: Mateusz Loskot <mateusz@loskot.net> Date: Tue Jun 30 21:56:21 2015 +0200 Delete old /docs folder. Rename Markdown conversion /doc to /docs Related to #344 delete mode 100644 doc/backends.md delete mode 100644 doc/backends/db2.md delete mode 100644 doc/backends/firebird.md delete mode 100644 doc/backends/index.md delete mode 100644 doc/backends/mysql.md delete mode 100644 doc/backends/odbc.md delete mode 100644 doc/backends/oracle.md delete mode 100644 doc/backends/postgresql.md delete mode 100644 doc/backends/sqlite3.md delete mode 100644 doc/beyond.md delete mode 100644 doc/boost.md delete mode 100644 doc/connections.md delete mode 100644 doc/errors.md delete mode 100644 doc/exchange.md delete mode 100644 doc/index.md delete mode 100644 doc/installation.md delete mode 100644 doc/interfaces.md delete mode 100644 doc/languages/ada/concepts.md delete mode 100644 doc/languages/ada/idioms.md delete mode 100644 doc/languages/ada/index.md delete mode 100644 doc/languages/ada/reference.md delete mode 100644 doc/multithreading.md delete mode 100644 doc/queries.md delete mode 100644 doc/rationale.md delete mode 100644 doc/reference.md delete mode 100644 doc/statements.md delete mode 100644 doc/structure.md delete mode 100644 docs/backends.html create mode 100644 docs/backends.md delete mode 100644 docs/backends/db2.html create mode 100644 docs/backends/db2.md delete mode 100644 docs/backends/firebird.html create mode 100644 docs/backends/firebird.md delete mode 100644 docs/backends/index.html create mode 100644 docs/backends/index.md delete mode 100644 docs/backends/mysql.html create mode 100644 docs/backends/mysql.md delete mode 100644 docs/backends/odbc.html create mode 100644 docs/backends/odbc.md delete mode 100644 docs/backends/oracle.html create mode 100644 docs/backends/oracle.md delete mode 100644 docs/backends/postgresql.html create mode 100644 docs/backends/postgresql.md delete mode 100644 docs/backends/sqlite3.html create mode 100644 docs/backends/sqlite3.md delete mode 100644 docs/beyond.html create mode 100644 docs/beyond.md delete mode 100644 docs/boost.html create mode 100644 docs/boost.md delete mode 100644 docs/connections.html create mode 100644 docs/connections.md delete mode 100644 docs/errors.html create mode 100644 docs/errors.md delete mode 100644 docs/exchange.html create mode 100644 docs/exchange.md delete mode 100644 docs/index.html create mode 100644 docs/index.md delete mode 100644 docs/installation.html create mode 100644 docs/installation.md delete mode 100644 docs/interfaces.html create mode 100644 docs/interfaces.md delete mode 100644 docs/languages/ada/concepts.html create mode 100644 docs/languages/ada/concepts.md delete mode 100644 docs/languages/ada/idioms.html create mode 100644 docs/languages/ada/idioms.md delete mode 100644 docs/languages/ada/index.html create mode 100644 docs/languages/ada/index.md delete mode 100644 docs/languages/ada/reference.html create mode 100644 docs/languages/ada/reference.md delete mode 100644 docs/languages/ada/style.css delete mode 100644 docs/multithreading.html create mode 100644 docs/multithreading.md delete mode 100644 docs/queries.html create mode 100644 docs/queries.md delete mode 100644 docs/rationale.html create mode 100644 docs/rationale.md delete mode 100644 docs/reference.html create mode 100644 docs/reference.md delete mode 100644 docs/statements.html create mode 100644 docs/statements.md delete mode 100644 docs/structure.html create mode 100644 docs/structure.md delete mode 100644 docs/structure.odg delete mode 100644 docs/structure.png delete mode 100644 docs/style.css commit 955a915cd45d1a1d27884a07c168d5d6e8fcaa57 Author: Miha <miha.ravselj@ib-caddy.si> Date: Thu Jun 25 18:38:48 2015 +0200 - CMake bug fix when building MSVC with SHARED option enabled commit 36f373f44efe9792621c2e2f604fb50531e6d489 Author: Maciej Sobczak <prog@msobczak.com> Date: Sat Jun 13 23:54:27 2015 +0200 Added classic Makefile for PostgreSQL test. create mode 100644 tests/postgresql/Makefile.basic commit 615cb94a4e02bf92dadbeaa93466a99a03bf8724 Author: Maciej Sobczak <prog@msobczak.com> Date: Sat Jun 13 23:46:04 2015 +0200 Updated classic Makefile for PostgreSQL backend. commit 821092cea60fd567cc64a91c0245a51fe90701fd Author: Vadim Zeitlin <vz-soci@zeitlins.org> Date: Mon Jun 8 01:56:33 2015 +0200 Don't use both -ansi and -std=gnu++98 flags with g++. This doesn't make sense as the latter overrides the former and is reported to create problems under FreeBSD 10. Closes #236. commit a87776e673b8d2ef2f8ee6042623b8085488acf7 Author: Joerg Sonnenberger <joerg@bec.de> Date: Sat Jun 6 20:16:00 2015 +0200 Make it easier to override SOCI_LIBDIR. Not all packaging environments want to distingish between lib and lib64, so don't force it. commit 96e66f58088bbee46bc2423acb674e45eeae1e68 Author: Maciej Sobczak <prog@msobczak.com> Date: Mon Jun 1 23:04:58 2015 +0200 Corrected handling of generated file with backend search path. delete mode 100644 include/private/soci_backends_config.h commit 0b26c3226b434acd9a7bcc6b60d38c494eb463eb Author: Maciej Sobczak <prog@msobczak.com> Date: Thu May 28 23:41:22 2015 +0200 Updated classic Makefiles for Oracle Express 11.2. create mode 100644 include/private/soci_backends_config.h create mode 100644 tests/oracle/Makefile.basic commit 15a3705ffd196c8202d7d7384b69981c73a45ba2 Author: Benjamin Blundell <b.blundell@qmul.ac.uk> Date: Fri May 22 15:19:09 2015 +0100 Removed all the crap debian packaging threw in delete mode 120000 debian delete mode 100755 obj-x86_64-linux-gnu/bin/soci_empty_test delete mode 100755 obj-x86_64-linux-gnu/bin/soci_empty_test_static delete mode 100755 obj-x86_64-linux-gnu/bin/soci_firebird_test delete mode 100755 obj-x86_64-linux-gnu/bin/soci_firebird_test_static delete mode 100755 obj-x86_64-linux-gnu/bin/soci_mysql_test delete mode 100755 obj-x86_64-linux-gnu/bin/soci_mysql_test_static delete mode 100755 obj-x86_64-linux-gnu/bin/soci_odbc_test_mssql delete mode 100755 obj-x86_64-linux-gnu/bin/soci_odbc_test_mssql_static delete mode 100755 obj-x86_64-linux-gnu/bin/soci_odbc_test_mysql delete mode 100755 obj-x86_64-linux-gnu/bin/soci_odbc_test_mysql_static delete mode 100755 obj-x86_64-linux-gnu/bin/soci_odbc_test_postgresql delete mode 100755 obj-x86_64-linux-gnu/bin/soci_odbc_test_postgresql_static delete mode 100755 obj-x86_64-linux-gnu/bin/soci_postgresql_test delete mode 100755 obj-x86_64-linux-gnu/bin/soci_postgresql_test_static delete mode 100755 obj-x86_64-linux-gnu/bin/soci_sqlite3_test delete mode 100755 obj-x86_64-linux-gnu/bin/soci_sqlite3_test_static delete mode 100644 obj-x86_64-linux-gnu/install_manifest.txt delete mode 100644 obj-x86_64-linux-gnu/lib/libsoci_core.a delete mode 120000 obj-x86_64-linux-gnu/lib/libsoci_core.so delete mode 120000 obj-x86_64-linux-gnu/lib/libsoci_core.so.4.0 delete mode 100755 obj-x86_64-linux-gnu/lib/libsoci_core.so.4.0.0 delete mode 100644 obj-x86_64-linux-gnu/lib/libsoci_empty.a delete mode 120000 obj-x86_64-linux-gnu/lib/libsoci_empty.so delete mode 120000 obj-x86_64-linux-gnu/lib/libsoci_empty.so.4.0 delete mode 100755 obj-x86_64-linux-gnu/lib/libsoci_empty.so.4.0.0 delete mode 100644 obj-x86_64-linux-gnu/lib/libsoci_firebird.a delete mode 120000 obj-x86_64-linux-gnu/lib/libsoci_firebird.so delete mode 120000 obj-x86_64-linux-gnu/lib/libsoci_firebird.so.4.0 delete mode 100755 obj-x86_64-linux-gnu/lib/libsoci_firebird.so.4.0.0 delete mode 100644 obj-x86_64-linux-gnu/lib/libsoci_mysql.a delete mode 120000 obj-x86_64-linux-gnu/lib/libsoci_mysql.so delete mode 120000 obj-x86_64-linux-gnu/lib/libsoci_mysql.so.4.0 delete mode 100755 obj-x86_64-linux-gnu/lib/libsoci_mysql.so.4.0.0 delete mode 100644 obj-x86_64-linux-gnu/lib/libsoci_odbc.a delete mode 120000 obj-x86_64-linux-gnu/lib/libsoci_odbc.so delete mode 120000 obj-x86_64-linux-gnu/lib/libsoci_odbc.so.4.0 delete mode 100755 obj-x86_64-linux-gnu/lib/libsoci_odbc.so.4.0.0 delete mode 100644 obj-x86_64-linux-gnu/lib/libsoci_postgresql.a delete mode 120000 obj-x86_64-linux-gnu/lib/libsoci_postgresql.so delete mode 120000 obj-x86_64-linux-gnu/lib/libsoci_postgresql.so.4.0 delete mode 100755 obj-x86_64-linux-gnu/lib/libsoci_postgresql.so.4.0.0 delete mode 100644 obj-x86_64-linux-gnu/lib/libsoci_sqlite3.a delete mode 120000 obj-x86_64-linux-gnu/lib/libsoci_sqlite3.so delete mode 120000 obj-x86_64-linux-gnu/lib/libsoci_sqlite3.so.4.0 delete mode 100755 obj-x86_64-linux-gnu/lib/libsoci_sqlite3.so.4.0.0 delete mode 100644 obj-x86_64-linux-gnu/src/core/soci_backends_config.h delete mode 100644 src/.pc/.quilt_patches delete mode 100644 src/.pc/.quilt_series delete mode 100644 src/.pc/.version commit cf11404d6c874ddc13bcc2158e136784d9435dca Author: Benjamin Blundell <b.blundell@qmul.ac.uk> Date: Fri May 22 14:55:38 2015 +0100 Added Markdown docs create mode 120000 debian create mode 100644 doc/backends.md create mode 100644 doc/backends/db2.md create mode 100644 doc/backends/firebird.md create mode 100644 doc/backends/index.md create mode 100644 doc/backends/mysql.md create mode 100644 doc/backends/odbc.md create mode 100644 doc/backends/oracle.md create mode 100644 doc/backends/postgresql.md create mode 100644 doc/backends/sqlite3.md create mode 100644 doc/beyond.md create mode 100644 doc/boost.md create mode 100644 doc/connections.md create mode 100644 doc/errors.md create mode 100644 doc/exchange.md create mode 100644 doc/index.md create mode 100644 doc/installation.md create mode 100644 doc/interfaces.md create mode 100644 doc/languages/ada/concepts.md create mode 100644 doc/languages/ada/idioms.md create mode 100644 doc/languages/ada/index.md create mode 100644 doc/languages/ada/reference.md create mode 100644 doc/multithreading.md create mode 100644 doc/queries.md create mode 100644 doc/rationale.md create mode 100644 doc/reference.md create mode 100644 doc/statements.md create mode 100644 doc/structure.md create mode 100755 obj-x86_64-linux-gnu/bin/soci_empty_test create mode 100755 obj-x86_64-linux-gnu/bin/soci_empty_test_static create mode 100755 obj-x86_64-linux-gnu/bin/soci_firebird_test create mode 100755 obj-x86_64-linux-gnu/bin/soci_firebird_test_static create mode 100755 obj-x86_64-linux-gnu/bin/soci_mysql_test create mode 100755 obj-x86_64-linux-gnu/bin/soci_mysql_test_static create mode 100755 obj-x86_64-linux-gnu/bin/soci_odbc_test_mssql create mode 100755 obj-x86_64-linux-gnu/bin/soci_odbc_test_mssql_static create mode 100755 obj-x86_64-linux-gnu/bin/soci_odbc_test_mysql create mode 100755 obj-x86_64-linux-gnu/bin/soci_odbc_test_mysql_static create mode 100755 obj-x86_64-linux-gnu/bin/soci_odbc_test_postgresql create mode 100755 obj-x86_64-linux-gnu/bin/soci_odbc_test_postgresql_static create mode 100755 obj-x86_64-linux-gnu/bin/soci_postgresql_test create mode 100755 obj-x86_64-linux-gnu/bin/soci_postgresql_test_static create mode 100755 obj-x86_64-linux-gnu/bin/soci_sqlite3_test create mode 100755 obj-x86_64-linux-gnu/bin/soci_sqlite3_test_static create mode 100644 obj-x86_64-linux-gnu/install_manifest.txt create mode 100644 obj-x86_64-linux-gnu/lib/libsoci_core.a create mode 120000 obj-x86_64-linux-gnu/lib/libsoci_core.so create mode 120000 obj-x86_64-linux-gnu/lib/libsoci_core.so.4.0 create mode 100755 obj-x86_64-linux-gnu/lib/libsoci_core.so.4.0.0 create mode 100644 obj-x86_64-linux-gnu/lib/libsoci_empty.a create mode 120000 obj-x86_64-linux-gnu/lib/libsoci_empty.so create mode 120000 obj-x86_64-linux-gnu/lib/libsoci_empty.so.4.0 create mode 100755 obj-x86_64-linux-gnu/lib/libsoci_empty.so.4.0.0 create mode 100644 obj-x86_64-linux-gnu/lib/libsoci_firebird.a create mode 120000 obj-x86_64-linux-gnu/lib/libsoci_firebird.so create mode 120000 obj-x86_64-linux-gnu/lib/libsoci_firebird.so.4.0 create mode 100755 obj-x86_64-linux-gnu/lib/libsoci_firebird.so.4.0.0 create mode 100644 obj-x86_64-linux-gnu/lib/libsoci_mysql.a create mode 120000 obj-x86_64-linux-gnu/lib/libsoci_mysql.so create mode 120000 obj-x86_64-linux-gnu/lib/libsoci_mysql.so.4.0 create mode 100755 obj-x86_64-linux-gnu/lib/libsoci_mysql.so.4.0.0 create mode 100644 obj-x86_64-linux-gnu/lib/libsoci_odbc.a create mode 120000 obj-x86_64-linux-gnu/lib/libsoci_odbc.so create mode 120000 obj-x86_64-linux-gnu/lib/libsoci_odbc.so.4.0 create mode 100755 obj-x86_64-linux-gnu/lib/libsoci_odbc.so.4.0.0 create mode 100644 obj-x86_64-linux-gnu/lib/libsoci_postgresql.a create mode 120000 obj-x86_64-linux-gnu/lib/libsoci_postgresql.so create mode 120000 obj-x86_64-linux-gnu/lib/libsoci_postgresql.so.4.0 create mode 100755 obj-x86_64-linux-gnu/lib/libsoci_postgresql.so.4.0.0 create mode 100644 obj-x86_64-linux-gnu/lib/libsoci_sqlite3.a create mode 120000 obj-x86_64-linux-gnu/lib/libsoci_sqlite3.so create mode 120000 obj-x86_64-linux-gnu/lib/libsoci_sqlite3.so.4.0 create mode 100755 obj-x86_64-linux-gnu/lib/libsoci_sqlite3.so.4.0.0 create mode 100644 obj-x86_64-linux-gnu/src/core/soci_backends_config.h create mode 100644 src/.pc/.quilt_patches create mode 100644 src/.pc/.quilt_series create mode 100644 src/.pc/.version commit ffbfdc0ef5421bd8f4b4eb64ac38b0af2d38760a Author: Benjamin Blundell <b.blundell@qmul.ac.uk> Date: Fri May 22 14:46:36 2015 +0100 Inlined the pragmas for the C++11 tests commit ae3ac9dbbedd05afc5767bd1e0b7a3d6a82ef741 Author: Benjamin Blundell <b.blundell@qmul.ac.uk> Date: Fri May 22 14:08:51 2015 +0100 Mistake with CXX11 pragma fixed in session.h commit 7d7516d417975ccffd9853295493e3b7041c1001 Author: Mateusz Loskot <mateusz@loskot.net> Date: Tue May 19 21:00:54 2015 +0200 Add more qualifications uses of session class with namespace soci::session. This should solve compilation errors on OSX where struct session defined in global namespace in /usr/include/sys/proc.h conflicts with unqualified uses of soci::session. Fixes #340 commit 1e89d436409b71140e2c34463b48549145063fb4 Author: Mateusz Loskot <mateusz@loskot.net> Date: Tue May 19 14:12:12 2015 +0200 Fully qualify uses of session class with namespace soci::session. This should solve compilation errors on OSX where struct session defined in global namespace in /usr/include/sys/proc.h conflicts with unqualified uses of soci::session. Fixes #340 commit 1ed81ca400666baf3577af7483d135cdb5d70292 Author: Mateusz Loskot <mateusz@loskot.net> Date: Tue May 19 11:56:35 2015 +0200 Restore setting session with query transformation Restores line accidentally removed in PR #336 (SHA-1: 48a8bfab0e4a735bcd623a4d03071bd7536aa822). commit 949924a714ea5741bfae56a1c367afcc8de3183e Author: Mateusz Loskot <mateusz@loskot.net> Date: Tue May 19 10:31:38 2015 +0200 Cope with GNU <=4.6 warning about the #pragma warning: unknown option after ‘#pragma GCC diagnostic’ kind [-Wpragmas] commit 3494b2ba6b2b491a6d0ebaf7a4a006ccadd6d213 Author: Mateusz Loskot <mateusz@loskot.net> Date: Tue May 19 10:23:43 2015 +0200 Wrap stream operator for boost::optional<int> with HAVE_BOOST commit af4b1a31e996d5a58adc651a1494115ef828aeb3 Author: Mateusz Loskot <mateusz@loskot.net> Date: Tue May 19 10:23:07 2015 +0200 Report SOCI_CXX_C11 in CMake output commit 0ab7b37c282f0c6e442cc09d58c82b9133463351 Author: Mateusz Łoskot <mateusz.loskot@cadcorp.com> Date: Mon May 18 23:47:50 2015 +0200 Remove old build .tcl scripts. Removing as not maintained for long time. Closes #339 [ci skip] delete mode 100644 build/README delete mode 100644 build/unix/build-core.tcl delete mode 100644 build/unix/build-mysql.tcl delete mode 100644 build/unix/build-oracle.tcl delete mode 100644 build/unix/build-postgresql.tcl delete mode 100644 build/unix/build-sqlite3.tcl delete mode 100755 build/unix/build.tcl delete mode 100644 build/unix/execute.tcl delete mode 100644 build/unix/find-boost.tcl delete mode 100644 build/unix/install.tcl delete mode 100644 build/unix/parse-parameters.tcl commit 8f2195a8708114b2440f467b8b0da9e042eff094 Author: Mateusz Loskot <mateusz@loskot.net> Date: Mon May 18 23:39:33 2015 +0200 Check Postgression availability before proceeding with build. If Postgression is not available, short-circuit build termination with error status. commit cd3af53f5d1f5fbc4a3158bcddffbf66d8f5fa56 Author: Mateusz Łoskot <mateusz@loskot.net> Date: Mon May 18 22:01:16 2015 +0200 Remove #include "error.h" of non-existent header The directive was including GNU C Library header /usr/include/error.h commit 48a8bfab0e4a735bcd623a4d03071bd7536aa822 Author: Benjamin Blundell <b.blundell@qmul.ac.uk> Date: Mon May 18 13:59:08 2015 +0100 Added the C++11 changes back in commit 1aee2d10886cd9b556a5a77d5a33c41d299d0a88 Author: Mateusz Loskot <mateusz@loskot.net> Date: Mon May 18 12:06:14 2015 +0200 Add -Wl,-flat_namespace -Wl,-undefined -Wl,suppress to LINK_FLAGS on Apple/OSX Addresses compilation issues on OSX, see #258. commit 2bf3aa7ed33c88945265ba7be4933c5e9720ad56 Author: Mateusz Łoskot <mateusz@loskot.net> Date: Fri May 8 16:51:54 2015 +0200 Disable test of set_query_transformation with C++ lambda Originally, it was an example sent to user. No need to actually run the test, especially if purposely handled compiler detection is needed. Keep it as an example to users who browse the tests. commit 1d26033e060c2108d4ffbe06bbe4a6895c24bdc7 Author: Mateusz Łoskot <mateusz@loskot.net> Date: Fri May 8 11:32:59 2015 +0200 CMake should not terminate on unknown toolset Instead, warn about using default compilation flags. commit d8b64cb1680e76823dc428d8bceb964c68cc0261 Author: Mateusz Loskot <mateusz@loskot.net> Date: Wed Apr 29 22:38:17 2015 +0200 Remove SociSystemInfo.cmake modul as redundant. It tried to determine names of platform and compiler, but confused host platform with target architecture. CMake already provides those details. Maintaining home-grown redundant module is unnecessary. Call CheckCXXSymbolExists to visibly look up for target architecture details. delete mode 100644 cmake/SociSystemInfo.cmake commit fc3391f9fd482c0ae47680205af9bb717c9c6b52 Author: Mateusz Łoskot <mateusz@loskot.net> Date: Fri Apr 24 12:16:58 2015 +0200 List Boost.DateTime in core dependencies [ci skip] commit f4ff281cf3ae7e3de5f4032234121b0bda0150dd Author: Mateusz Łoskot <mateusz@loskot.net> Date: Fri Apr 24 12:12:33 2015 +0200 Indicate Travis CI builds Oracle WITH_BOOST=OFF SOCI_TRAVIS_BACKEND=oracle build job needs to build SOCI 32-bit to target 32-bit OCI installed with Oracle 10g. Due to Ubuntu bug that prevents installation of libboost i386 packages on amd64 host (https://bugs.launchpad.net/ubuntu/+source/boost1.48/+bug/918438), we had to disable Boost. See #326 for details. [ci skip] commit 0c1824066dc92f0d4f0c77d929f9bff0d1bc2e1c Author: Mateusz Łoskot <mateusz.loskot@cadcorp.com> Date: Thu Apr 23 01:18:16 2015 +0200 Restore Oracle build with tests on Travis CI. Install Oracle 10g (32-bit) using old packages from https://oss.oracle.com/debian/. Disable Boost dependency due to Ubuntu bug that prevents installation of libboost i386 packages on amd64 host (see details at https://bugs.launchpad.net/ubuntu/+source/boost1.48/+bug/918438). Switch SOCI_TRAVIS_BACKEND=oracle build to target 32-bit architecture. Increase Oracle XE parameter PROCESSES from default 40 to 200 to prevent random ORA-12520 errors while running tests against Oracle. The configuration is based on solution worked out by P6Spy folks at p6spy/p6spy#116. Kudos! Closes #224 create mode 100755 bin/ci/before_script_oracle.sh commit bc4abd7172440e889970aa9c7df8d35a41a89c1a Author: Vadim Zeitlin <vz-soci@zeitlins.org> Date: Tue Apr 21 02:09:34 2015 +0200 Throw instead of truncating VARCHAR columns in Firebird backend. Silently truncating the data to fit into a column is a bad idea, just don't do this. Also add a unit test verifying that an exception is indeed thrown if the value being inserted doesn't fit in the column, except for SQLite where anything fits and MySQL where it doesn't but just gets silently truncated by the database by default. Finally add a helper on_after_ddl() method to the test context class to allow creating tables in the common test code instead of having to always do it in RDBMS-specific way, even when the DDL uses completely standard SQL and the only difference is that Firebird needs a commit after executing it. Closes #51. commit 4c612af75d31d2daafa1bb5729aa8397d3098a1d Author: Vadim Zeitlin <vz-soci@zeitlins.org> Date: Tue Apr 21 14:27:15 2015 +0200 No changes, just small code simplification in Firebird backend. Use helper variable instead of duplicating "var->sqltype & ~1" expression many times. commit ba206ede7432378a2e8499b7ddd98899904eb318 Author: Vadim Zeitlin <vz-soci@zeitlins.org> Date: Tue Apr 21 02:05:33 2015 +0200 Extract common part of MySQL and ODBC MySQL tests in a header. This makes it possible to reuse various MySQL-specific workarounds for both tests without duplicating the not always trivial code. As a side effect, fixes ODBC MySQL test which didn't pass any more since the addition of exact double equality checks, making it use the same has_fp_bug() as the MySQL test skips the failing test for it too now. create mode 100644 tests/mysql/test-mysql.h commit a0fd859e140aa8b9a73e0db1d6e4be5d33a0174d Author: Vadim Zeitlin <vz-soci@zeitlins.org> Date: Tue Apr 21 00:00:15 2015 +0200 Remove asserts from the SOCI headers and code. Asserts shouldn't be used in the library code as it must not abort the main application, whatever happens. Their use is especially problematic in the headers as it can easily result in ODR violations if the library and the application using it are compiled with different values of NDEBUG. Add real error handling for a couple of asserts which are not trivially verified (e.g. there is no need for checking that a pointer is not null after initializing it with new as an exception would have been thrown anyhow if new failed) and remove the rest. Closes #300. commit b36944ceda00e4a5e1d24bd2a353ca8424c1d740 Author: Vadim Zeitlin <vz-soci@zeitlins.org> Date: Mon Apr 20 23:59:05 2015 +0200 Check vector indices instead of asserting that they are valid. Use std::vector::at() to check the index and throw an exception if it is invalid instead of checking it manually using an assert: this is simpler and safer as there is no danger of forgetting the check or making a mistake in it. See #300. commit 75ef8d87db77e11d112ce4adc95e921ae2bf170a Author: Vadim Zeitlin <vz-soci@zeitlins.org> Date: Mon Apr 20 23:57:51 2015 +0200 Handle dt_unsigned_long_long in the "simple" SOCI layer. Treat it the same as dt_long_long as there doesn't seem to be any good reason to handle it differently. commit 2e2f60b3e65b991ff2e98f61993a9db7d532cc51 Author: Vadim Zeitlin <vz-soci@zeitlins.org> Date: Mon Apr 20 23:56:27 2015 +0200 Remove asserts on unknown type from the "simple" SOCI layer. Having asserts here is not very friendly and using a "default" case in the switches over the type prevents the compiler from helping us by giving a warning about the types not handled. See #300. commit e21aef78011206587e406713c169cd95b99e8f67 Author: Vadim Zeitlin <vz-soci@zeitlins.org> Date: Mon Apr 20 23:53:35 2015 +0200 Throw instead of asserting if connection_pool::lease() fails. This is not supposed to happen at all, but if it does, throw an exception rather than aborting. commit 4b4cecb94939df6fe5e79be62039216b8a38ff37 Author: Vadim Zeitlin <vz-soci@zeitlins.org> Date: Mon Apr 20 23:51:21 2015 +0200 Replace left over asserts with CATCH CHECK in the tests code. This should have been part of 246f6579b944b46537cbf4cc3e9c44233e23e752 but was forgotten in it. commit 388a8d3860165a59fdc69aae9650c21f3e637795 Author: Vadim Zeitlin <vz-soci@zeitlins.org> Date: Mon Apr 20 23:50:24 2015 +0200 Use compile-time asserts to check SQLINTEGER size. Fail to compile the code if SQLINTEGER has different size from int instead of crashing the program during run-time. See #300. create mode 100644 include/private/soci-static-assert.h commit af80fd83899882d32f1d90e31d5c74e1a568626a Author: Vadim Zeitlin <vz-soci@zeitlins.org> Date: Mon Apr 20 16:19:46 2015 +0200 Use SQLT_BDOUBLE instead of SQLT_FLT in Oracle backend. This is recommended by Oracle documentation for performance reasons as it avoids conversion from the native double to Oracle format and back but, more importantly, avoids rounding problems and allows the "Repeated and bulk fetch" unit test to pass for doubles whereas it failed previously because the double value of 0.6*3 was written into the database as exactly 1.8, which is different from IEEE 754 representation. Notice that this commit assumes that Oracle 10.1+ is used during run-time if 10.1+ headers are used for compiling SOCI. This is not true in general, but is hopefully good enough in practice -- and if it isn't, run-time Oracle version checking will need to be added later. commit c74132b454ddae95110250f43b839a534007f614 Author: Vadim Zeitlin <vz-soci@zeitlins.org> Date: Tue Apr 21 15:52:01 2015 +0200 Fix warning about pointer-to-int conversion in Firebird backend. Assign the result of isc_dsql_fetch() to ISC_STATUS which is exactly the type it returns (which can be 64 bits) instead of long (which can be 32 bits, resulting in truncation warnings). commit 4916551d475db11a618455429f75c5f965ff5534 Author: Vadim Zeitlin <vz-soci@zeitlins.org> Date: Tue Apr 14 16:34:30 2015 +0200 Reorganize more unit tests to use CATCH sections. Make the tests slightly shorter and, more importantly, specify more information in case of test failures. This extends the changes of 60a33f4a774a75631cb38fb7e37649969a9b3992. commit 787b42803ff6a96d613bc75451a038fc356e48e3 Author: Vadim Zeitlin <vz-soci@zeitlins.org> Date: Fri Apr 17 20:05:28 2015 +0200 Fix duplicate test name in Oracle unit tests. This prevented the unit test from even starting up as CATCH checks that all test names are unique. commit 7f65799f5d2fcbc507fcfe54450a8fd962f5c423 Author: Vadim Zeitlin <vz-soci@zeitlins.org> Date: Thu Apr 16 17:11:57 2015 +0200 Avoid warnings about int-to-pointer conversions in DB2 backend. These warnings are harmless as the cast to pointer needs to be used just because SQLSetStmtAttr() is "polymorphic" and takes both pointers and integers, but annoying, so avoid them by using a helper cast-like function. commit 7e80c68341515ff1a803fa9603d29ba4bb53ef12 Author: Vadim Zeitlin <vz-soci@zeitlins.org> Date: Thu Apr 16 17:01:38 2015 +0200 Use parameter names from the query, if given, in error messages. Improve the error messages by using the parameter names used in the query itself, if any, when the query parameters were bound by position and not by name. This means that errors for a query like sql << "insert into soci_test(name, age) values (:name, :age)", use(name), use(age)); will now contain "with :name=... :age=..." even though the parameter names were not passed to use(). commit 8b0c37204ff66a89dcafd87051841848298e2d1a Author: Vadim Zeitlin <vz-soci@zeitlins.org> Date: Thu Apr 16 17:00:25 2015 +0200 Don't clean up SQLite3 statement prematurely. Don't call clean_up() in sqlite3 backend if running a query fails as this prevents us from getting more information about the error from the statement handle (by finalizing it). No real changes in this commit yet, but it is necessary for the upcoming commit to work with SQLite. commit 9119ed821b211aa6a0e7b04eaba594969ca3b135 Author: Vadim Zeitlin <vz-soci@zeitlins.org> Date: Thu Apr 16 16:16:32 2015 +0200 Rename db2_statement_backend::names field to names_. No changes, just rename the field for consistency with the other backends, all of which call it "names_" (if they have it). commit f5c86b70b8e215bb57b18fc4556b92cd819fae74 Author: Vadim Zeitlin <vz-soci@zeitlins.org> Date: Wed Apr 15 19:31:02 2015 +0200 Make SOCI_NORETURN public and use it in declaration. SOCI_NORETURN had to be moved to a public header to avoid MSVC error C2381 ("'function' : redefinition; __declspec(noreturn) differs") which was given if SOCI_NORETURN was specified on the function definition only and not its declaration. Use SOCI_NORETURN when both declaring and defining the function now (notice that C++11 [[noreturn]] attribute also must be used on declarations). create mode 100644 include/soci/noreturn.h commit 62c17b279c82598b35c953de30a3595ee44738cc Author: Vadim Zeitlin <vz-soci@zeitlins.org> Date: Wed Apr 15 10:54:43 2015 +0200 Add mktime_from_ymdhms() helper. No changes, just refactor the code to use this function instead of redoing all the year/month adjustments (by 1900 and 1 respectively) in all the backends. This is also meant to allow changing the time zone handling in a single place in the future if we decide to do it. create mode 100644 include/private/soci-mktime.h commit ee0b9e4eef8e256c653857309e13340ac5b5eff6 Author: Vadim Zeitlin <vz-soci@zeitlins.org> Date: Wed Apr 15 10:52:19 2015 +0200 Fix a clash between CATCH test cases defined in different files. Put the common test cases in their own namespace to avoid a clash between the tests defined in soci::tests (which is brought into scope via using directive by all the backend-specific files) and the tests defined in the backend test sources if they happen to start at the same line. This is just a workaround and a proper solution would, of course, be to move the tests out of the header at all but this will have to wait. commit 60a33f4a774a75631cb38fb7e37649969a9b3992 Author: Vadim Zeitlin <vz-soci@zeitlins.org> Date: Tue Apr 14 16:34:30 2015 +0200 Reorganize "Use and into" unit test to use CATCH sections. This makes the test slightly shorter (the line creating the table doesn't need to be repeated many times) and, more importantly, allows us to specify the descriptions which can be useful in case of test failures. commit db59a48ce45240cf9d67aa53835428fa2a825910 Author: Rémi Piotaix <remi.piotaix@inria.fr> Date: Mon Apr 13 21:37:46 2015 +0200 Merge pull request #314 from rpiotaix/release/3.2 Updated FindMySQL.cmake to work under 64-bit windows. commit 82ea95fc22944c656ceb8d6df3050969e333f335 Author: Vadim Zeitlin <vz-soci@zeitlins.org> Date: Mon Apr 13 19:18:45 2015 +0200 Don't add DB2_INCLUDE_DIR to global include directories. This breaks the build of ODBC backend and the tests using it as DB2 headers directory contains sqlext.h file which is also used by ODBC. And it was unnecessary anyhow because the generic soci_backend() macro already takes care of adding $BACKEND_INCLUDE_DIR to the include directories just for the $BACKEND target. Also remove similar link_directories() line -- even though it doesn't seem to result in any problems, it's still unnecessary. commit 4f570d78514d50605377e709c66fcd2146e55ecc Author: Mateusz Łoskot <mateusz.loskot@cadcorp.com> Date: Sat Apr 11 00:04:46 2015 +0200 Restore Travis CI builds for other databases The matrix was temporarily cleaned while working on #306. commit 1e4b3654814edec463c2a71f3d7ae009320749a7 Author: Vadim Zeitlin <vadim@zeitlins.org> Date: Mon Mar 31 17:48:23 2014 +0200 Add a Travis build using PostgreSQL server at Postgression. Use the test server from http://www.postgression.com/ to test with another (latest, it seems), PostgreSQL version in addition to the one available on Travis. Notice that this build is allowed to fail as it sometimes stalls for unknown reason (but probably because postgression.com servers don't respond). Closes #167. create mode 100755 bin/ci/script_postgression.sh commit 6abb7e1f47ecc57781f98e365ad7b5261993ac6e Author: Mateusz Łoskot <mateusz@loskot.net> Date: Fri Apr 10 22:02:37 2015 +0200 Typo commit 1ccff471bbdac5419439bf962852bc0478e0c40e Author: Mateusz Łoskot <mateusz.loskot@cadcorp.com> Date: Fri Apr 10 11:40:25 2015 +0200 Replace raw & with & entity. commit 56d3aa6f18ea98fa073e8ea47d73e2deeb94a204 Author: Mateusz Łoskot <mateusz.loskot@cadcorp.com> Date: Fri Apr 10 11:36:56 2015 +0200 No real changes, just remove trailing whitespace. Insignificant trailing whitespace was annoying as it resulted in extra noise in the diffs, just get rid of it everywhere at once. commit ef6d90dcc379fa10212bcd1afcc86974618f2a63 Author: Mateusz Łoskot <mateusz.loskot@cadcorp.com> Date: Fri Apr 10 00:06:51 2015 +0200 Fix previous attempt to correct include of SQLite3 backend header commit 31a22a1b358fcf4f1232cb7325c458194f4c8b78 Author: Mateusz Łoskot <mateusz.loskot@cadcorp.com> Date: Thu Apr 9 23:56:10 2015 +0200 Include SQLite3 backend public headers using soci/ prefix. commit 0ef491294aaf234945ff71f0dd574bd7d5692c6a Author: Mateusz Łoskot <mateusz.loskot@cadcorp.com> Date: Wed Apr 8 23:57:13 2015 +0200 Add 3.2.3 release notes commit 8da98b2262ddfcb1d03458f7cb09b9991fdf2443 Author: Mateusz Łoskot <mateusz.loskot@cadcorp.com> Date: Wed Apr 8 23:56:58 2015 +0200 Add new contributors commit ee7e155a1cae12d26a1df9a857b6c2e47a6e011e Author: Mateusz Łoskot <mateusz.loskot@cadcorp.com> Date: Wed Apr 8 23:56:46 2015 +0200 Bump version number in docs commit 5577606a98808e19d204a3ed6a5ef0ea41a0365f Author: Luke Camden <Luke.Camden@morganstanley.com> Date: Mon Jan 20 10:22:50 2014 +0000 Improve readability of ODBC error message Closes #229 Signed-off-by: Mateusz Łoskot <mateusz.loskot@cadcorp.com> commit 8e14c5bf4fe537833c61b19480880cdc7d83c7ad Author: Luke Camden <Luke.Camden@morganstanley.com> Date: Thu Jan 16 10:42:15 2014 +0000 Improve error message when an odbc error occurs Signed-off-by: Mateusz Łoskot <mateusz.loskot@cadcorp.com> commit a948ab36fc3ec8c164940c0f09c9eb6e5cc3fb6e Author: Mateusz Loskot <mateusz@loskot.net> Date: Sat Apr 5 00:59:39 2014 +0200 Remove unused HAVE_XXX defines commit 2c85be1dd9d59296a1e60c23591bf5261708f574 Author: Mateusz Loskot <mateusz@loskot.net> Date: Sat Apr 5 00:53:41 2014 +0200 Fix missing strtoll on Cygwin and MinGW This is refined version of pull #246. Closes #246 commit d9c059eb5113b1a9cecbc0715e2a0ea1705d4c41 Author: Mateusz Loskot <mateusz@loskot.net> Date: Fri Apr 4 00:09:37 2014 +0200 Clarify documenation and examples on bulk operations. Closes #204 commit a08d750199e8ed921f7cc723626eaedf93640307 Author: Mateusz Loskot <mateusz@loskot.net> Date: Tue Apr 1 00:31:37 2014 +0200 [travis] Disable Oracle build This is due to shutdown of my private VM. This needs to wait for Oracle setup on Travis CI #224 - feasible commit 70e67aa37c311e835da5f24d04cd1d6faef58d14 Author: Mateusz Loskot <mateusz@loskot.net> Date: Tue Apr 1 00:22:38 2014 +0200 Replace prefix underscore with suffix in private member names commit c799e4f6ed5df889b57bebd5cde18ccfa983e8c9 Author: Adesmier <arnaud@desmier.fr> Date: Mon Aug 5 11:47:57 2013 +0200 Append each member of tuple/fusion instead of adding tuple/fusion * Warning: break compatibility with boost 1.35 released in 2008! * when calling use() or into() with tuple or fusion objects, it stores reference to each member of object instead of storing object reference thanks to boost::fusion::foreach. * Job is done by new use_type_vector and into_type_vector classes create mode 100644 src/core/bind-values.h commit 645e7a2ac8c77f77e612aafa791faeb102afaeb0 Author: pacocamberos <pacocamberos@hotmail.com> Date: Wed Mar 20 12:59:53 2013 -0400 Merge github.com:pacocamberos/soci into pacocamberos-branch-mysql-blob Only first part of #105 pull requests will be actually merged: * To compile old MySQL 3.23 (with LGPL license). Closes #105 commit e96bc2b52499a7a772ad2a520546d5604c6ec33a Author: Mateusz Loskot <mateusz@loskot.net> Date: Mon Mar 31 23:14:45 2014 +0200 Ignore CMakeLists.txt.user created by Qt Creator IDE commit f694e30dd0b2c7304b506ce578ad07c17da7fb1d Author: Mateusz Loskot <mateusz@loskot.net> Date: Mon Mar 31 23:14:11 2014 +0200 Bump library version number to 3.2.3 commit 5ecebe902162055bb495869f548dbf0597287206 Author: Sergei Nikulov <sergey.nikulov@gmail.com> Date: Wed Oct 16 19:34:04 2013 +0400 fixed link error for msvc 64 bit commit 327857927b4bc4c74c70593c2484eb3ba2e4b7ef Author: Vadim Zeitlin <vz-soci@zeitlins.org> Date: Mon Apr 6 18:48:45 2015 +0200 Fix email notifications for Travis CI builds. The on_success and on_failure keys were ignored because they were indented incorrectly and so appeared as children of "notifications" and not of "email" key as they should have been (thanks to Travis WebLint at http://docs.travis-ci.com/user/travis-lint/ for finding this). commit ad9075c968f1eb9131dd1303abfcdb15d49dd0f1 Author: Vadim Zeitlin <vz-soci@zeitlins.org> Date: Mon Apr 6 15:26:43 2015 +0200 Configure Travis CI to fail the build a.s.a.p. There is no need to wait until the end of all builds if one of them fails before marking the build as globally failing. Also, if we had any builds allowed to fail, this would allow to mark the build as successful without waiting for their end (but we don't have any such builds currently). commit 7481868f4688a2e4248a8d86125795b6dcca618c Author: Vadim Zeitlin <vz-soci@zeitlins.org> Date: Mon Mar 16 14:23:22 2015 +0100 Explicitly set extra_float_digits when using PostgreSQL in ODBC. PostgreSQL ODBC driver sets extra_float_digits to 2 on its own, but we set it to 3 for PostgreSQL 9+, so make the ODBC backend behave consistently with the native one. commit 83bbbd4e06bf069fefd6ef5d405dd9ea69d2aafc Author: soyer <soyer@irl.hu> Date: Thu Sep 12 19:31:25 2013 +0200 update sqlite3 backend documentation commit 5cda82a5b31d33511897b6d09b3a0324a0352fc6 Author: Vadim Zeitlin <vz-soci@zeitlins.org> Date: Wed Apr 1 20:31:58 2015 +0200 Avoid throwing from soci_error copy ctor and assignment operator. Don't allow exceptions (realistically, just std::bad_alloc) to escape from the exception class copy ctor to avoid abnormal program termination. commit 8bb66107a2132d424f441305d04ee71a39798f2b Author: Vadim Zeitlin <vz-soci@zeitlins.org> Date: Wed Apr 1 00:27:57 2015 +0200 Provide context of the error in soci_error when possible. Add soci_error::add_context() and use it in statement class to record the information about the query which resulted in the exception and, if applicable, this query parameters. This results in much better end user experience as the error messages now contain information allowing to diagnose which query exactly has failed instead of just unhelpfully saying that an error occurred. commit a8ba1cba5fbab2f6af49228138a1ec819494d833 Author: Vadim Zeitlin <vz-soci@zeitlins.org> Date: Wed Apr 1 00:00:49 2015 +0200 Add use_type_base::dump_value() for richer diagnostics. This method will allow including the values of the query parameters in the error messages in the upcoming commits. Also move get_name(), which was only available in standard_use_type before, down to use_type_base, to allow getting the name of any parameter. Notice that dump_value() implementation is pretty minimal currently, notably it doesn't give any useful information about vectors and objects (i.e. mapped to soci::value) parameters. This should be enhanced in the future. commit 76b3089bccb989c3269d3d9302ea41f747c7eb4c Author: Vadim Zeitlin <vz-soci@zeitlins.org> Date: Tue Mar 31 23:56:38 2015 +0200 Add soci_error::get_error_message() method. This will only become useful after the upcoming commits which will extend what() to return more information about the exception, but commit this separately as there are only trivial changes in this commit: just use std::string returned by get_error_message() instead of char* returned by what() in the tests. commit e8e5978138332c7acbe53ed70b221b38f0e22840 Author: Vadim Zeitlin <vz-soci@zeitlins.org> Date: Fri Mar 27 20:34:28 2015 +0100 No real changes, just remove trailing whitespace. Insignificant trailing whitespace was annoying as it resulted in extra noise in the diffs, just get rid of it everywhere at once. commit 7b8b37b470bc12d4ad4b1cd737ce7b2dfa92b001 Author: Vadim Zeitlin <vz-soci@zeitlins.org> Date: Tue Mar 31 19:09:50 2015 +0200 Use REQUIRE() and not CHECK() for a test that can't be allowed to fail. If there is no test context, the test can't continue to run and we also shouldn't crash on the next line in this case. commit c9dbe19041bac2f64cc446d2314bd4e7d9ed9d7a Author: Vadim Zeitlin <vz-soci@zeitlins.org> Date: Fri Mar 27 20:31:38 2015 +0100 Move all tests from tests/assert to tests directory itself. "assert" in the name of the directory doesn't make any sense any more as we don't use asserts in the test code now that we use CATCH. Also extend the tests description in the README.md. delete mode 100644 tests/assert/CMakeLists.txt delete mode 100644 tests/assert/README.md delete mode 100644 tests/assert/common-tests.h delete mode 100644 tests/assert/db2/CMakeLists.txt delete mode 100644 tests/assert/db2/test-db2.cpp delete mode 100644 tests/assert/empty/CMakeLists.txt delete mode 100644 tests/assert/empty/test-empty.cpp delete mode 100644 tests/assert/firebird/CMakeLists.txt delete mode 100644 tests/assert/firebird/test-firebird.cpp delete mode 100644 tests/assert/mysql/CMakeLists.txt delete mode 100644 tests/assert/mysql/test-mysql.cpp delete mode 100644 tests/assert/odbc/CMakeLists.txt delete mode 100644 tests/assert/odbc/test-access.dsn delete mode 100644 tests/assert/odbc/test-mssql.dsn delete mode 100644 tests/assert/odbc/test-mysql.dsn delete mode 100644 tests/assert/odbc/test-odbc-access.cpp delete mode 100644 tests/assert/odbc/test-odbc-db2.cpp delete mode 100644 tests/assert/odbc/test-odbc-mssql.cpp delete mode 100644 tests/assert/odbc/test-odbc-mysql.cpp delete mode 100644 tests/assert/odbc/test-odbc-postgresql.cpp delete mode 100644 tests/assert/odbc/test-postgresql.dsn delete mode 100644 tests/assert/oracle/CMakeLists.txt delete mode 100644 tests/assert/oracle/test-oracle.cpp delete mode 100644 tests/assert/postgresql/CMakeLists.txt delete mode 100644 tests/assert/postgresql/test-postgresql.cpp delete mode 100644 tests/assert/sqlite3/CMakeLists.txt delete mode 100644 tests/assert/sqlite3/test-sqlite3.cpp create mode 100644 tests/common-tests.h create mode 100644 tests/db2/CMakeLists.txt create mode 100644 tests/db2/test-db2.cpp create mode 100644 tests/empty/CMakeLists.txt create mode 100644 tests/empty/test-empty.cpp create mode 100644 tests/firebird/CMakeLists.txt create mode 100644 tests/firebird/test-firebird.cpp create mode 100644 tests/mysql/CMakeLists.txt create mode 100644 tests/mysql/test-mysql.cpp create mode 100644 tests/odbc/CMakeLists.txt create mode 100644 tests/odbc/test-access.dsn create mode 100644 tests/odbc/test-mssql.dsn create mode 100644 tests/odbc/test-mysql.dsn create mode 100644 tests/odbc/test-odbc-access.cpp create mode 100644 tests/odbc/test-odbc-db2.cpp create mode 100644 tests/odbc/test-odbc-mssql.cpp create mode 100644 tests/odbc/test-odbc-mysql.cpp create mode 100644 tests/odbc/test-odbc-postgresql.cpp create mode 100644 tests/odbc/test-postgresql.dsn create mode 100644 tests/oracle/CMakeLists.txt create mode 100644 tests/oracle/test-oracle.cpp create mode 100644 tests/postgresql/CMakeLists.txt create mode 100644 tests/postgresql/test-postgresql.cpp create mode 100644 tests/sqlite3/CMakeLists.txt create mode 100644 tests/sqlite3/test-sqlite3.cpp commit 246f6579b944b46537cbf4cc3e9c44233e23e752 Author: Vadim Zeitlin <vz-soci@zeitlins.org> Date: Thu Mar 26 19:47:18 2015 +0100 Convert the tests to use CATCH testing framework. The tests have been converted with minimal changes (but this could be a bit difficult to see without the "-w" diff option as there have been many changes in indentation), basically we just use CATCH CHECK() (and REQUIRE(), in a few places where it is appropriate) macro instead of assert() and the test driver now just uses Catch::Session::run() instead of enumerating the tests to run explicitly. This has a lot of advantages such as: - Provides information about the failed test and the values of variables in it. - Allows to continue running the tests even if one of them fails. - Allows to run just some of the tests with flexible selection mechanism. commit b2060fbc6652048f041f7b46980fd4f76e260c1e Author: Vadim Zeitlin <vz-soci@zeitlins.org> Date: Thu Mar 26 19:33:30 2015 +0100 Add single header version of CATCH testing framework. This file was retrieved from http://builds.catch-lib.net/ create mode 100644 tests/catch.hpp commit b87407e0c63f9ffcd724c1c8116f815ce1bcd0ac Author: Vadim Zeitlin <vz-soci@zeitlins.org> Date: Tue Mar 31 23:59:27 2015 +0200 Add values::get_number_of_columns() accessor. This method is convenient for obtaining the properties of all columns, as this can only be done calling get_properties() in a loop and the new method provides the upper loop bound. commit 962808121baeda39f456ff5b0a4a73bdb21078f1 Author: Vadim Zeitlin <vz-soci@zeitlins.org> Date: Tue Mar 31 23:47:47 2015 +0200 Define SOCI_NORETURN: a portable __attribute__((noreturn)) equivalent. This macro can be used instead of just "void" return type for the functions that never return. In addition to making it clear that they really don't return, it also can suppress some warnings that the compiler would give without having this information. commit 6ebcbcd3e2ff809f36d249d805198310b7f163bd Author: Vadim Zeitlin <vz-soci@zeitlins.org> Date: Tue Mar 31 14:17:21 2015 +0200 Remove the never used details::statement_impl::namedUses_. This seems to be a leftover as this field is never initialized nor used anywhere. commit 0f1f295f68a249258bebed46ea4eb976537a6910 Author: Vadim Zeitlin <vz-soci@zeitlins.org> Date: Wed Apr 1 00:22:42 2015 +0200 Add helper exchange_type_cast<>() template function. The new function replaces explicit static_cast<> and can be used to upcast a void pointer to the type of the value corresponding to the exchange_type associated with it somewhat more safely and less verbosely. There are no real changes in this commit. create mode 100644 include/private/soci-exchange-cast.h commit 02207fc3cf969be1dc400e007b13bbb9914a4d26 Author: Vadim Zeitlin <vz-soci@zeitlins.org> Date: Wed Mar 25 16:25:39 2015 +0100 Rename "version" class in the ODBC test to "odbc_version". The new name is more precise and works around a compilation error under Solaris (apparently "version" is defined somewhere in the standard headers there). commit 7d5eb2d0c7480fec776f8dc409734e7476f76cf3 Author: Nik Bougalis <nikb@bougalis.net> Date: Thu Mar 19 09:56:42 2015 -0700 Use a base-class member instead of shadowing it. commit 37fbe8f35ea5d837b9e95752b92ce3e284aad52e Author: Vadim Zeitlin <vz-soci@zeitlins.org> Date: Tue Mar 17 17:27:46 2015 +0100 Don't always disable ODBC MS SQL test under Unix, just when using Travis. This test can be run under Unix platforms too and can be built under Travis, we just can't run it there. And they do run under Unix now, so run them there to have a fighting chance of noticing when they break. commit ed3739970537199a16c2c8ecfb002a6961467c6c Author: Vadim Zeitlin <vz-soci@zeitlins.org> Date: Tue Mar 17 18:57:47 2015 +0100 Fix ODBC backend get_affected_rows() when using FreeTDS driver. SQLRowCount() doesn't return the correct number of rows affected for vector operations when using FreeTDS 0.91 (it seems to always return 1 instead of the real number of elements). Avoid using this function entirely as we already have the number of affected rows anyhow, via SQL_ATTR_PARAMS_PROCESSED_PTR. This is simpler, probably more efficient and works with both the native Microsoft ODBC driver and FreeTDS. commit f212ca9a901a815c469633518239ab3c49e2ae26 Author: Vadim Zeitlin <vz-soci@zeitlins.org> Date: Tue Mar 17 18:56:35 2015 +0100 Skip test which fails when using ODBC with MS SQL Server. MS SQL Server doesn't [always] support multiple active result sets on a single connection, so skip the test using them in this configuration. This fixes a failure in the tests when using FreeTDS ODBC driver under Linux. commit 294becb31099e3ce902b469665a7a1eba1a1e669 Author: Denis Arnaud <denis.arnaud_fedora@m4x.org> Date: Tue Mar 17 11:27:36 2015 +0100 Fix for the issue #169: cleaner way to include headers. commit 120b88c94c99350146e111a9f5557f2637753eda Author: Vadim Zeitlin <vz-soci@zeitlins.org> Date: Mon Mar 16 20:18:57 2015 +0100 Accept oraocci12 as a possible Oracle library name too. In addition to the already accepted oraocci10 and oraocci11 ones. Closes #271. commit 6552eb10a3b8c3c87a2c405af3c5f76a89cd1834 Author: Vadim Zeitlin <vz-soci@zeitlins.org> Date: Mon Mar 16 18:00:26 2015 +0100 No real changes, just simplify Firebird backend code a little. Get rid of firebird_session_backend::dpb_ member variable and make setDPBOption() private and non-virtual as we don't need to expose it and overriding it is not allowed anyhow. No changes neither in public API nor behaviour. commit 34be702011e3cd4507db99c5a72865d097f913f3 Author: Vadim Zeitlin <vz-soci@zeitlins.org> Date: Mon Mar 16 17:52:19 2015 +0100 Test exact round trip for NUMERIC values for all backends. Unlike with doubles, there should be really no loss of precision when using fixed point NUMERIC data type, but check for it explicitly as it used to be broken for Firebird. commit 24c05399fa36b306d6a78338d8e030faf9d21f10 Author: Vadim Zeitlin <vadim@zeitlins.org> Date: Mon Mar 16 00:48:36 2015 +0100 Fix rounding error in Firebird NUMERIC/DECIMAL conversions. The value was truncated instead of being rounded in to_isc() helper function, resulting in, for example, "0.003958" being saved as "0.003957" in a NUMERIC(7,6) column because the string "0.003958" is actually "0.0039579999999999997129" when converted to string with 20 digits of precision and, after multiplying by 1e6 scale, yielded 3957 in the usual double precision. Round the values now to prevent this from happening. commit 69352bc3ef9306606e86bcaa96bc71bf0deafdc4 Author: Vadim Zeitlin <vz-soci@zeitlins.org> Date: Mon Mar 16 01:06:03 2015 +0100 Speculatively enable exact floating point comparisons for all backends. Perform exact floating point comparisons for all backends except those that are known to fail, i.e. SQLite and MySQL. This commit should be amended or reverted if one or more of the remaining backends (DB2, Oracle, ODBC) turn out to not work with it. commit f497fb899ea15ac93651b73328049e44b364aaff Author: Vadim Zeitlin <vz-soci@zeitlins.org> Date: Mon Mar 16 17:17:28 2015 +0100 Disable exact floating point when using PostgreSQL ODBC driver. PostgreSQL ODBC drivers up to and including 9.03.0003 were buggy and didn't use enough digits to exactly represent the floating point values, so disable exact comparisons when using them. commit 6f9dd5480b133f68e0fdf3a2e17dd4118b070108 Author: Vadim Zeitlin <vz-soci@zeitlins.org> Date: Mon Mar 16 13:25:25 2015 +0100 No changes, just fix a repetitive typo in "assert" in comments. Add the missing "t". commit 02f0a695bc018823030d50d1161a146f7e43fb43 Author: Vadim Zeitlin <vz-soci@zeitlins.org> Date: Mon Mar 16 13:20:03 2015 +0100 No changes, just remove annoying "EXECEPTION" typo. All ODBC tests had it, simply remove it for consistency with the non-ODBC tests which display std::exception without any additional prefix. commit 4bf2d3caa8a4bf69af4514ed186d596457b764b5 Author: Vadim Zeitlin <vz-soci@zeitlins.org> Date: Mon Mar 16 01:04:41 2015 +0100 Explicitly disable exact floating point comparison in MySQL test. This is similar to 8730296bfc09b9b7036d9fb7d05296bb1f6f1e4f for SQLite: disable the test explicitly for MySQL because it is known to fail (at least with 5.0.51a under Linux/amd64). commit 1f3dd92d498294a79a72f3a354c3b7927efd50a2 Author: Vadim Zeitlin <vadim@zeitlins.org> Date: Mon Mar 16 00:23:51 2015 +0100 Replace accidental assignment with a comparison in Firebird unit test. Thanks MSVC for generating a warning about this typo. commit c3cd3093d3e1b81817d9669d5d219ae9edb63933 Author: Vadim Zeitlin <vz-soci@zeitlins.org> Date: Sun Mar 15 23:54:01 2015 +0100 Make text-to-double conversion exact in PostgreSQL backend. By setting extra_float_digits to its maximal value (instead of the default 0) we can ensure that the conversion from text (which we use when saving the values in the database) to double (used internally) and back (when we retrieve the values) is lossless and so that we read back exactly the same values as we had written. In principle, the best solution would be to use binary format with PQexecParams() instead: this would avoid the conversion to/from text entirely and so be undoubtedly correct and probably more efficient. However it also would be more difficult, especially for NUMERIC types as we would need to convert them to/from the protocol wire format ourselves, so for now just make it work correctly in the simplest possible way. commit ff9146ab2ef89485c0cd5822e928f53a87b927e5 Author: Vadim Zeitlin <vz-soci@zeitlins.org> Date: Sun Mar 15 23:52:23 2015 +0100 Explicitly disable exact floating point comparison in SQLite test. Exact comparisons were not done anyhow because they are currently disabled by default, but make this more explicit because SQLite is known to fail them (and seems to be unlikely to ever pass them). commit 7039d0097207e506149294e54e7db92f3c448503 Author: Vadim Zeitlin <vz-soci@zeitlins.org> Date: Sun Mar 15 23:40:25 2015 +0100 Compare floating point values exactly in tests whenever possible. The unit tests weaseled out of comparing the floating point values exactly without any really valid excuse, change this to do check for the exact round trip when possible. Unfortunately it is not possible in quite a few cases: first, we can never verify that performing "insert into t(d) values(3.14)" and then reading the value back with "select d from t" returns the floating point constant 3.14f because it is not equal to the string literal anyhow. This could, and probably should, be fixed by using prepared statements whenever we use floating point, and this is done for the insertions in the common test3() by this commit. Second, some backends are simply buggy right now and don't write correct values to the database. So for now enable the exact comparisons only for Firebird for which the test does pass (at least with Firebird 2.5.2.26540 under Linux/amd64). commit 53cd24ecc80605ebe80e00dd6ac5381aa3cb6e77 Author: Vadim Zeitlin <vz-soci@zeitlins.org> Date: Sat Mar 14 19:45:10 2015 +0100 Don't start implicit transaction too eagerly in Firebird backend. Firebird backend used to start a transaction immediately after construction or after committing or rolling back the previous transaction. This created problems due to unexpectedly not seeing any changes to the database not performed via the same connection object because of the transaction isolation and so SOCI_FIREBIRD_NORESTARTTRANSACTION existed to allow changing this behaviour. However it is not necessary to create the transactions so eagerly in the first place, we can wait with doing it until the transaction handle is really needed, i.e. when a statement is about to be executed. This solves the problems due to having the implicit transaction open all the time and removes the need for SOCI_FIREBIRD_NORESTARTTRANSACTION, simplifying the code. commit 66f0d825ae64649df738e77dfde11da84535da37 Author: Vadim Zeitlin <vz-soci@zeitlins.org> Date: Thu Mar 12 00:15:57 2015 +0100 Add possibility to build Firebird using embedded library. Add SOCI_FIREBIRD_EMBEDDED option which can be set to ON to link with libfbembed instead of libfbclient. Also slightly update the Firebird backend documentation, it does work with 2.5 and not only the ancient 1.5 Firebird version. commit 1489811e195756fbd37b59adeeebcb2b51405912 Author: Vadim Zeitlin <vz-soci@zeitlins.org> Date: Thu Mar 12 00:05:55 2015 +0100 Update version to 4.0.0 in cmake too. This should have been part of 58d31f9d0b676065d3ece56af99ffe54f3f436a9, so, to avoid similar problems with versions getting out of sync in the future, also add comments mentioning the other place to modify when changing the version in one of them. commit 5838cc68dff207ff6efa73670889c49320590b05 Author: Vadim Zeitlin <vadim@zeitlins.org> Date: Wed Mar 11 03:21:44 2015 +0100 Reenable building, if not testing, Oracle backend. There is still no test Oracle database, but put the Oracle instant client files online so that we could at least build the backend on Travis CI. commit dc4fb735d42d5d5e27fb0b668662176f92c45e26 Author: Vadim Zeitlin <vadim@zeitlins.org> Date: Wed Mar 11 03:20:51 2015 +0100 Move ORACLE_HOME to Oracle-specific script. There is no need to do it in the common part as it's only needed for Oracle. create mode 100644 bin/ci/oracle.sh commit f9167a1e6da3b1866383c3ec632652a5d9b170d4 Author: Vadim Zeitlin <vadim@zeitlins.org> Date: Wed Mar 11 02:24:25 2015 +0100 Avoid many warnings about floating point values comparison. g++ -Wfloat-equal warning is generally useful, however we do need to compare floating point values exactly in some cases, notably in the tests where we really want to get back *exactly* the same value, so use the gcc-specific macros to disable this warning just in some regions of code. commit c85744b752b1bafc45e5da74ed6bff9e775982a3 Author: Vadim Zeitlin <vadim@zeitlins.org> Date: Wed Mar 11 02:22:24 2015 +0100 Define GCC_WARNING_SUPPRESS and GCC_WARNING_RESTORE macros. Add a private header for compiler-specific things and use it to define GCC_WARNING_{SUPPRESS.RESTORE} macros which will be used in the upcoming commits to locally disable some of the g++ warnings. As a side effect, also add SOCI_CONCAT and SOCI_STRINGIZE helper macros, in their own header to facilitate their reuse in the future if needed. create mode 100644 include/private/soci-compiler.h create mode 100644 include/private/soci-cpp.h commit ef7e9a988ff3763ad4a0b9787f6eb3d4cadce56e Author: Vadim Zeitlin <vadim@zeitlins.org> Date: Wed Mar 11 01:55:32 2015 +0100 Avoid warning about set but unused variable in Oracle backend. This works around g++ 4.7.2 -Wunused-but-set-variable warning for the "size" variable and also gets rid of the "precision" and "scale" variables which were formally used but were not really necessary, so simplify the code by not using them. No real changes. commit 86a459883d175d3a6b7918c791ce0830b7d6718a Author: Vadim Zeitlin <vadim@zeitlins.org> Date: Wed Mar 11 01:53:54 2015 +0100 Avoid g++ warnings about casting away const with C-style casts. g++ 4.7.2 gives -Wcast-qual warnings when casting "char const*" to "SQLCHAR*", add a helper function working around them. No real changes. commit 2c887b39d64e0f59522ab01d913dd599ed8d771c Author: Vadim Zeitlin <vadim@zeitlins.org> Date: Wed Mar 11 01:33:51 2015 +0100 Ignore CMake-generated files. commit 6e9312c4bb3748907bd28d62c40feca42878cfef Author: Vadim Zeitlin <vadim@zeitlins.org> Date: Tue Mar 10 15:59:16 2015 +0100 Increment SOCI version to 3.2.3 in the master branch. This will allow to distinguish it from the last 3.2.2 release. commit f61d7f5ba769eb53d94f8d891a4a5f3b48647ee9 Author: Mika Fischer <mika.fischer@zoopnet.de> Date: Fri Nov 14 15:43:18 2014 +0100 Add missing include for std::max commit 05b4abf1b0ff7d37ef7c46e031b1cccfbf345c4a Author: Timo Bingmann <tbgit@panthema.net> Date: Sat Mar 7 13:27:44 2015 +0100 Adding cmake SOCI_SHARED option to compile shared library (ON by default). commit 844648cfbc961ffa39965c00a445bf585581a67b Author: Timo Bingmann <tbgit@panthema.net> Date: Sat Mar 7 13:21:33 2015 +0100 Lower-casing Windows.h -> windows.h since this fixes on MinGW. commit 21824a15b7974fc82279fdb31c043df5651164bc Author: javerskulpa <pavel.jurkas@gmail.com> Date: Fri Feb 27 14:22:18 2015 +1300 fixed deadlock in soci::connection_pool::try_lease commit b0460a1f19a73e17c526ef4011bf17903c03b79e Author: javerskulpa <pavel.jurkas@gmail.com> Date: Fri Feb 27 14:22:18 2015 +1300 fixed deadlock in soci::connection_pool::try_lease commit be98a0d70f56cda5b049438a37f6de44633484ec Author: Mika Fischer <mika.fischer@zoopnet.de> Date: Fri Nov 14 15:43:18 2014 +0100 Add missing include for std::max commit 6e6bd465e1073a0dac3bc14979280eac88a7072c Author: Alex Volanis <alexander.volanis@simplivity.com> Date: Sun Aug 31 17:19:08 2014 -0400 Documentation for SQLite3 result code support. commit 97cbb0a541dd2fcdc3e591f08ca3f49c75c4e9d4 Author: Alex Volanis <alexander.volanis@simplivity.com> Date: Sun Aug 31 17:02:27 2014 -0400 Update PostgreSQL backend documentation for UUID type support. commit 5448cf1577cb8914a42acded3c3130d0d53a1b12 Author: Vadim Zeitlin <vadim@zeitlins.org> Date: Thu Jun 26 11:59:15 2014 +0200 Spelling fix in an error message: s/Commiting/Committing/. See #260. commit 117a0126ea6e5abe2b0c9bd7c5fce2d215073cf2 Author: Tobias Frost <tobi@coldtobi.de> Date: Thu Jun 26 10:25:54 2014 +0200 Spelling fix Comiting -> Comitting (Fixes #260) commit 5b073e3aa9b91e383b05c853aef98023a67860b8 Author: Vadim Zeitlin <vadim@zeitlins.org> Date: Sun Jun 22 17:02:42 2014 +0200 Remove the unnecessary "error.h" inclusion from PostgreSQL code. This #include wasn't updated to soci/error.h during the great header renaming as it should have been, and is not needed anyhow because it's already included from soci/postgresql/soci-postgresql.h via soci/soci-backend.h, so just remove it. commit 01c8e380f3581b9645e1650212a8b588010b326f Author: Pawel Aleksander Fedorynski <pfedor@gmail.com> Date: Mon Jun 16 08:43:31 2014 -0700 Special case := (assignment operator) when parsing the query (MySQL). commit 5776dd46e74d85332386fd4df2f50db1e801a56c Author: Alex Volanis <alexander.volanis@simplivity.com> Date: Tue Apr 22 12:52:10 2014 -0400 Introduced sqlite3_soci_error exception as subclass of soci_error. This new exception exposes the SQLite3 result code returned when any failure happens. Using this method is preferable to scrubbing string error messages in soci_error exceptions. Useful when there needs to be a distinction between general errors and database constraint errors. Unit test added to prove the funtionality does what is expected. create mode 100644 src/backends/sqlite3/error.cpp commit 6d766e772019b84b520005bf60adb7e922dedb4b Author: Alex Volanis <alexander.volanis@simplivity.com> Date: Tue Apr 22 12:50:26 2014 -0400 Introduced support for UUID column type in PostgreSQL statement.cpp. Unit test added for UUID column support testing all supported kinds of UUID formatted strings on input and standardized UUID formatted strings on output. commit e106dc0ef27625154545bab4a189d20e156dfff4 Author: Vadim Zeitlin <vadim@zeitlins.org> Date: Sun Mar 30 21:45:50 2014 +0200 Optionally use the environment locale in the tests. This makes it easier to check that SOCI works correctly when used in a program that changes the global locale as it can now be tested just by running tests after setting SOCI_TEST_USE_LC_ALL and LC_ALL environment variables. commit 1b650616e0133ab7868938a3356c8eda52769c90 Author: Vadim Zeitlin <vadim@zeitlins.org> Date: Sun Mar 30 21:44:40 2014 +0200 Make sqlite3 and mysql backends work with any locale too. Propagate the changes done to postgresql backend in sqlite3 and mysql backends: use locale-independent functions for converting between the (floating point) numbers and strings as the database itself always expects, and provides, the strings in "C" locale. commit 8548642dc1cc1707b5581617c17882ebf259ed94 Author: Vadim Zeitlin <vadim@zeitlins.org> Date: Sun Mar 30 21:29:54 2014 +0200 Use locale-independent function for converting doubles to strings. Similarly to the issue #238 but in the other direction, we must use locale-independent functions to ensure that we send the strings in correct format to the database even if the current locale doesn't use period as decimal separator. This fixes errors like invalid input syntax for type double precision: "3,1415926500000002086" when executing the tests in e.g. French locale. create mode 100644 include/private/soci-dtocstr.h commit 1260d4f7d938b20e0161efcaeebb024e83e3839f Author: Vadim Zeitlin <vadim@zeitlins.org> Date: Mon Mar 31 14:39:27 2014 +0200 Reimplement cstring_to_double() without using C++ standard library. Some implementations of C++ streams (notably libstdc++ under OS X) are buggy and change the global locale to implement support for imbue(), which is not thread-safe, and so could introduce subtle bugs in multi-thread programs. Replace the old correct but not working in practice code with a new ugly version only supporting decimal comma and period which is not totally correct in theory but should work fine in practice (and shouldn't make things worse even for the hypothetical locales using some other decimal separator anyhow). commit bc884fec0bc8c312264e9c67199efa959ed37d7d Author: Mateusz Loskot <mateusz@loskot.net> Date: Sat Apr 5 00:59:39 2014 +0200 Remove unused HAVE_XXX defines commit 4ffb21b15ae6b8313db33a4648cf86162c69c100 Author: Mateusz Loskot <mateusz@loskot.net> Date: Sat Apr 5 00:53:41 2014 +0200 Fix missing strtoll on Cygwin and MinGW This is refined version of pull #246. Closes #246 commit 7bd49914deac708ef7c4692caa28204c72350bcf Author: Mateusz Loskot <mateusz@loskot.net> Date: Fri Apr 4 00:09:37 2014 +0200 Clarify documenation and examples on bulk operations. Closes #204 commit 4d0785e4df3d1f428154ea65fbdbbe63eb7ddaeb Author: Vadim Zeitlin <vadim@zeitlins.org> Date: Mon Mar 31 19:43:34 2014 +0200 Temporarily disable using Oracle backend on Travis. The test Oracle database is temporarily unavailable, so using this backend results in failure report for all builds, avoid it. commit fce8560cbb5dfb89bd5ef6d68615cd737b92a256 Author: Mateusz Loskot <mateusz@loskot.net> Date: Tue Apr 1 00:31:37 2014 +0200 [travis] Disable Oracle build This is due to shutdown of my private VM. This needs to wait for Oracle setup on Travis CI #224 - feasible commit 0ff0e01dfc73eb4d79f9a07814e5dc206fee374b Author: Mateusz Loskot <mateusz@loskot.net> Date: Tue Apr 1 00:22:38 2014 +0200 Replace prefix underscore with suffix in private member names commit 65a5ee3892570b1dc639b2dab10b26fc80a89582 Author: Adesmier <arnaud@desmier.fr> Date: Mon Aug 5 11:47:57 2013 +0200 Append each member of tuple/fusion instead of adding tuple/fusion * Warning: break compatibility with boost 1.35 released in 2008! * when calling use() or into() with tuple or fusion objects, it stores reference to each member of object instead of storing object reference thanks to boost::fusion::foreach. * Job is done by new use_type_vector and into_type_vector classes create mode 100644 src/core/bind-values.h commit 8e9fb424cea73e738f9cad079e462f54d6e4d838 Author: pacocamberos <pacocamberos@hotmail.com> Date: Wed Mar 20 12:59:53 2013 -0400 Merge github.com:pacocamberos/soci into pacocamberos-branch-mysql-blob Only first part of #105 pull requests will be actually merged: * To compile old MySQL 3.23 (with LGPL license). Closes #105 commit 3dca4e362c5a99add7003b4f870c8b43f845959b Author: Mateusz Loskot <mateusz@loskot.net> Date: Mon Mar 31 23:14:45 2014 +0200 Ignore CMakeLists.txt.user created by Qt Creator IDE commit de7e6f080f850f4ff9ac338c3b9fdab65ee09a70 Author: Mateusz Loskot <mateusz@loskot.net> Date: Mon Mar 31 23:14:11 2014 +0200 Bump library version number to 3.2.3 commit 946dd5ab98777190e9e9db74ef33d1a52bd4e6d9 Author: Vadim Zeitlin <vadim@zeitlins.org> Date: Mon Mar 31 15:14:30 2014 +0200 Fix PostgreSQL unit test to pass with PostgreSQL < 9.0. The output format for bytea values in PostgreSQL was "escape" until version 9 in which it was changed to "hex", which is what the current tests expect. Explicitly check "bytea_output" parameter to make the tests pass with both 8 and 9 (alternative would be to always set it to "escape" on connection, but it seems better to test the default behaviour). commit 0a47eaf7e93a72a38d3cb932390e1efd5d184d39 Author: fly2xj <fly2xj@msn.com> Date: Tue Oct 29 15:35:18 2013 +0800 vs2013 got strtoll/strtoull commit 58d31f9d0b676065d3ece56af99ffe54f3f436a9 Author: Vadim Zeitlin <vadim@zeitlins.org> Date: Sun Mar 30 20:46:27 2014 +0200 Update version to 4.0.0. This makes it easier to distinguish the builds using "develop" branch from the one based on the stable 3.2 branch. commit 10d2c8ab3843ca9c9c9f1b8c2fa72130d2928b2a Author: Pawel Aleksander Fedorynski <pfedor@gmail.com> Date: Thu Mar 27 19:21:37 2014 -0700 Fixed a bug which made the MySQL backend mistake an escaped single quote inside a string literal for the closing quote. This resulted in incorrect behavior if the same string literal contained a colon character ':'. commit 417ef5cc4d08a4685c005d0f2359fc69010a4439 Author: Vadim Zeitlin <vadim@zeitlins.org> Date: Mon Mar 24 18:03:47 2014 +0100 Include all public headers using "soci/" prefix inside SOCI itself. Harmonize the inclusion style of the headers from inside and outside the library and always use the "soci/foo.h" form. commit 6f4162c0e139e8ebd4d0bcfac6340dd947208cc0 Author: Vadim Zeitlin <vz-soci@zeitlins.org> Date: Mon Mar 24 17:01:04 2014 +0100 Add helper cstring_to_double() and use it in PostgreSQL backend. Replace PostgreSQL-specific and incorrect string_to_double() function with a common (i.e. reusable) cstring_to_double() which always interprets the string as being in "C" locale as this is what the actual strings, retrieved from the database, use. create mode 100644 include/private/soci-cstrtod.h commit 73119cb1820e4266199b28ffce78acae3b2ed4f7 Author: Vadim Zeitlin <vz-soci@zeitlins.org> Date: Mon Mar 24 14:54:06 2014 +0100 Fix compilation of ODBC-specific SOCI header with new include paths. If only soci/include directory is in the compiler include path, including <soci-backend.h> doesn't compile, as it should be included as <soci/soci-backend.h> or, as this patch does, "../soci-backend.h", which is uglier but simpler as it doesn't require changing any SOCI makefiles. commit d877390a82664671ba620ac0df5deadaa33fadc4 Author: Mateusz Loskot <mateusz@loskot.net> Date: Mon Jan 20 21:40:51 2014 +0000 Delete obsolete src/<backend>/test directories All the content has been moved to tests/assert/<backend> as part of #125 delete mode 100644 src/backends/db2/test/CMakeLists.txt delete mode 100644 src/backends/empty/test/.gitignore delete mode 100644 src/backends/empty/test/CMakeLists.txt delete mode 100644 src/backends/empty/test/Makefile.basic delete mode 100644 src/backends/firebird/test/CMakeLists.txt delete mode 100644 src/backends/firebird/test/Makefile.basic delete mode 100644 src/backends/mysql/test/.gitignore delete mode 100644 src/backends/mysql/test/CMakeLists.txt delete mode 100644 src/backends/mysql/test/Makefile.basic delete mode 100644 src/backends/odbc/test/CMakeLists.txt delete mode 100644 src/backends/odbc/test/Makefile.basic delete mode 100644 src/backends/odbc/test/makefile.msvc delete mode 100644 src/backends/oracle/test/CMakeLists.txt delete mode 100644 src/backends/oracle/test/Makefile.basic delete mode 100644 src/backends/postgresql/test/.gitignore delete mode 100644 src/backends/postgresql/test/CMakeLists.txt delete mode 100644 src/backends/postgresql/test/Makefile.basic delete mode 100644 src/backends/sqlite3/test/.gitignore delete mode 100644 src/backends/sqlite3/test/CMakeLists.txt delete mode 100644 src/backends/sqlite3/test/Makefile.basic commit 06a970fea75c665f30479fafe59863f931522cf2 Author: Mateusz Loskot <mateusz@loskot.net> Date: Mon Jan 20 21:37:40 2014 +0000 Revert CMake setup for ODBC DB2 test delete mode 100644 src/backends/odbc/test/test-odbc-db2.cpp create mode 100644 tests/assert/odbc/test-odbc-db2.cpp commit f04147a5a49f746c73c90bd7bb35ad1d5eb3c134 Author: Mateusz Loskot <mateusz@loskot.net> Date: Mon Jan 20 21:14:15 2014 +0000 Move ODBC test DSN files to new tests location delete mode 100644 src/backends/odbc/test/test-access.dsn delete mode 100644 src/backends/odbc/test/test-mssql.dsn delete mode 100644 src/backends/odbc/test/test-mysql.dsn delete mode 100644 src/backends/odbc/test/test-postgresql.dsn create mode 100644 tests/assert/odbc/test-access.dsn create mode 100644 tests/assert/odbc/test-mssql.dsn create mode 100644 tests/assert/odbc/test-mysql.dsn create mode 100644 tests/assert/odbc/test-postgresql.dsn commit 0219c43f22fc334a0cb975e80f4c1af7827ceaa9 Author: Mateusz Loskot <mateusz@loskot.net> Date: Mon Jan 20 21:03:01 2014 +0000 Fix paths to ODBC test DSN files commit 928174c431ea56de86722add0d2e7d4b7f839b19 Author: Mateusz Loskot <mateusz@loskot.net> Date: Mon Jan 20 20:57:01 2014 +0000 Fix Firebird includes of private headers commit bc171b609ecbac053ccaa7a4461e060a1bca1cda Author: Mateusz Loskot <mateusz@loskot.net> Date: Mon Jan 20 20:52:45 2014 +0000 Fix copy-n-paste error in CMake macro parameter name commit 1f4d6ef65aab347d3f93f14b2e9bbedb065b6c2f Author: Mateusz Loskot <mateusz@loskot.net> Date: Mon Jan 20 08:41:32 2014 +0000 Fix includes to point to backend headers in subdirectories wip: updates related to #125 and #199 for further cleanup in CMake configuration is advised to fully use buried headers and change includes to: <soci/soci.h> <soci/mysql/soci-mysql.h> etc. commit 552e81c27a75a01f9dbc18c6c9563b91c160569f Author: Mateusz Loskot <mateusz@loskot.net> Date: Mon Jan 20 00:11:58 2014 +0000 Enable other tests in tests/assert Update related to #199. commit 7a018a36f7293b994f5f93c4808f6e75f18caef7 Author: Mateusz Loskot <mateusz@loskot.net> Date: Mon Jan 20 00:01:44 2014 +0000 Move tests/assert into separate subdirectories Update CMake configuration to properly set building dependencies for test targets (ATM, enabled for empty and sqlite3 only). Closes #199. Make a few additional CMake configuration updates and improvements in handling external dependnecies/libraries. create mode 100644 tests/assert/db2/CMakeLists.txt create mode 100644 tests/assert/db2/test-db2.cpp create mode 100644 tests/assert/empty/CMakeLists.txt create mode 100644 tests/assert/empty/test-empty.cpp create mode 100644 tests/assert/firebird/CMakeLists.txt create mode 100644 tests/assert/firebird/test-firebird.cpp create mode 100644 tests/assert/mysql/CMakeLists.txt create mode 100644 tests/assert/mysql/test-mysql.cpp create mode 100644 tests/assert/odbc/CMakeLists.txt create mode 100644 tests/assert/odbc/test-odbc-access.cpp create mode 100644 tests/assert/odbc/test-odbc-mssql.cpp create mode 100644 tests/assert/odbc/test-odbc-mysql.cpp create mode 100644 tests/assert/odbc/test-odbc-postgresql.cpp create mode 100644 tests/assert/oracle/CMakeLists.txt create mode 100644 tests/assert/oracle/test-oracle.cpp create mode 100644 tests/assert/postgresql/CMakeLists.txt create mode 100644 tests/assert/postgresql/test-postgresql.cpp create mode 100644 tests/assert/sqlite3/CMakeLists.txt create mode 100644 tests/assert/sqlite3/test-sqlite3.cpp delete mode 100644 tests/assert/test-db2.cpp delete mode 100644 tests/assert/test-empty.cpp delete mode 100644 tests/assert/test-firebird.cpp delete mode 100644 tests/assert/test-mysql.cpp delete mode 100644 tests/assert/test-odbc-access.cpp delete mode 100644 tests/assert/test-odbc-mssql.cpp delete mode 100644 tests/assert/test-odbc-mysql.cpp delete mode 100644 tests/assert/test-odbc-postgresql.cpp delete mode 100644 tests/assert/test-oracle.cpp delete mode 100644 tests/assert/test-postgresql.cpp delete mode 100644 tests/assert/test-sqlite3.cpp commit e2ec7ffdada1440c1ad460863108a45275035b30 Author: Mateusz Loskot <mateusz@loskot.net> Date: Sun Jan 19 23:53:14 2014 +0000 Ignore Qt Creator and Eclipse files commit 5d527ecf74079dea43e4ecd2b69c69f0c9780e6c Author: Mateusz Łoskot <mateusz@loskot.net> Date: Sat Dec 21 09:52:07 2013 +0000 Fix windows.h case for cross-compilation Patch from Michael Surette received through soci-users. While the Windows filesystems are case insensitive, other systems are case sensitive. While cross-compiling all lower case filenames seem to be the norm. Both MinGW and Cygwin seem to have windows.h in their APIs. See http://sourceforge.net/apps/trac/cppcheck/ticket/4636 for a short discussion on this issue. commit 024ccc8209fcd64372cecf1b5455ac0e5e150c41 Author: Vadim Zeitlin <vz-soci@zeitlins.org> Date: Tue Nov 26 17:22:31 2013 +0100 Firebird: fix harmless warning in 64 bit builds. In 64 bit builds Firebird defines isc_stmt_handle as an integer type and not a pointer, so comparing it with or assigning NULL to it results in gcc warnings. Avoid them by using 0 instead of NULL, this works in both 32 bit (where isc_stmt_handle is a pointer) and 64 bit builds. commit 32c5f8897b1499361c757f11de26faf189fe1522 Author: Dirk Grambow <dirk.grambow@gmx.de> Date: Mon Nov 4 16:27:16 2013 +0100 Add get_last_insert_id tests for sqlite3 and mysql backends commit 98eef8007e98100860c2f9c2651b8c36f5d8476a Author: fly2xj <fly2xj@msn.com> Date: Tue Oct 29 15:35:18 2013 +0800 vs2013 got strtoll/strtoull commit ccd4c0d96f53cb8bc574cfb1568472bee74f18aa Author: Dirk Grambow <dirk.grambow@gmx.de> Date: Sun Oct 27 14:57:57 2013 +0100 Add get_last_insert_id for sqlite3 and mysql backends Update docs/beyond.html accordingly commit 42aec236f32317c799f22063c7a9a37a3ba9cefc Author: Alejandro Alvarez Ayllon <alejandro.alvarez.ayllon@cern.ch> Date: Mon Oct 21 16:31:39 2013 +0200 Fix in soci::oracle to allow spaces in the params chop_connect_string didn't accept parameters containing spaces inside. Now, spaces can be used encapsulating the value between quotes. user=oracle-user password=oracle-password service="(DESCRIPTION = ( ADDRESS= .... ) )" commit b2ea9f77a45a1cb78f6de19d81d508bbae814f12 Author: Sergei Nikulov <sergey.nikulov@gmail.com> Date: Wed Oct 16 19:34:04 2013 +0400 fixed link error for msvc 64 bit commit ef69fa9f312d8bbdc2fffa2913a829e988151d21 Author: Mateusz Loskot <mateusz@loskot.net> Date: Thu Sep 12 01:31:45 2013 +0100 [travis] Disable building tests due to #199 commit 09acb8c46288f334e95a488a2f320200a8221ece Author: Mateusz Loskot <mateusz@loskot.net> Date: Thu Sep 12 01:28:31 2013 +0100 [travis] Fix bash script syntax error commit cba671f346404cdf15df16840ee1f2eef44dfa6d Author: Mateusz Loskot <mateusz@loskot.net> Date: Thu Sep 12 01:21:09 2013 +0100 [travis] Disable ctest run due to #199 On Travis CI, CMake 2.8.7 is unable to cope with set_target_property with INCLUDE_DIRECTORIES. commit d8f7d9d1fd40eff1182c2ad4747db432b96a5562 Author: Mateusz Loskot <mateusz@loskot.net> Date: Thu Sep 12 01:17:11 2013 +0100 [travis] Restore soci-devel notifications Disabling it in develop is pointless anyway, as Travis CI relies on .travis.yml in master, apparently. commit 22257b3506481aa2d71929c7746f4285dd5516c9 Author: Mateusz Loskot <mateusz@loskot.net> Date: Thu Sep 12 01:15:45 2013 +0100 [cmake] Remove unused log message commit 0cffb8af1f4bcd7b8391b6a68b2123a64542c693 Author: Mateusz Loskot <mateusz@loskot.net> Date: Thu Sep 12 00:38:35 2013 +0100 CMake 2.8.7 have problems with per target includes commit b430cb0e3f737aee7b1d3da87a9617ebeeddf94e Author: Mateusz Loskot <mateusz@loskot.net> Date: Thu Sep 12 00:13:28 2013 +0100 Attempt to correct -I paths for backend test commit 6c0721d78ba4b1ea3e052ea447db537d3a45a8c5 Author: Mateusz Loskot <mateusz@loskot.net> Date: Wed Sep 11 23:59:23 2013 +0100 Attempt to correct -I paths for backend folders As well as compile definitions. Previous implementation of soci_backend macro was setting correct properties locally, but on Travis CI it is not working. commit 69d70c51c8735099dee4d4bc384d5c6859ef7ad5 Author: Mateusz Loskot <mateusz@loskot.net> Date: Wed Sep 11 23:28:05 2013 +0100 [travis] Disable tempoarily soci-devel notifications commit f4802f1cb0c044893366931e381db854962279db Author: Mateusz Loskot <mateusz@loskot.net> Date: Wed Sep 11 22:31:43 2013 +0100 [travis] Log build script name commit 8890aeabbf1987b540e286bfda5ed041d28d078b Author: Mateusz Loskot <mateusz@loskot.net> Date: Wed Sep 11 22:17:44 2013 +0100 [travis] Set CMAKE_VERBOSE_MAKEFILE=ON commit 717c38a798959e972380456774991d937fcbb9c2 Author: Mateusz Loskot <mateusz@loskot.net> Date: Wed Sep 11 22:17:20 2013 +0100 [travis] Remove superfluos ] from make invocation commit 843a43cf496c77a9912b9187ec179edc3680f063 Author: Mateusz Loskot <mateusz@loskot.net> Date: Wed Sep 11 13:16:46 2013 +0100 Fix travis-ci to run CMake from root directory The new source layout has got CMakeLists.txt in root directory, so no longer need to step into ./src to run CMake. commit 9e43795bb667aa214425550038831ec582894d27 Author: Mateusz Loskot <mateusz@loskot.net> Date: Wed Sep 11 02:21:29 2013 +0100 Update copyright year Checking why mysterious failure of build 398 while locally CMake seems to be sound. commit 04a34f2e3f64d411a05fc0e4575fbdd793feac22 Author: Mateusz Loskot <mateusz@loskot.net> Date: Wed Sep 11 01:28:42 2013 +0100 Link presentation from London C++ Meeting Slides hosted currently at http://slid.es/mloskot/soci [ci skip] commit 11ef1faeff24ca7c294bdf0bffd1e18f873ba65a Author: Mateusz Loskot <mateusz@loskot.net> Date: Wed Sep 11 01:22:20 2013 +0100 Fix doc/index.html menu links [ci skip] commit 98e0b8b7866ff6f9f0184ddea08d0c3b723cb77b Author: Mateusz Loskot <mateusz@loskot.net> Date: Wed Sep 11 00:38:45 2013 +0100 Update 3.2.2 release date commit 719513e54712e0ac2bdcacb323136115b7515b00 Author: Mateusz Loskot <mateusz@loskot.net> Date: Wed Sep 11 00:38:10 2013 +0100 Add master...hotfix/3.2.2 authors commit 24ca0a4ed1a68f238982355e6cf76e536f10b16a Author: Mateusz Loskot <mateusz@loskot.net> Date: Wed Sep 11 00:37:53 2013 +0100 Add master...hotfix/3.2.2 changes commit c62521c182cec1a9c785a19b2a2d6e4253c01568 Author: soyer <soyer@irl.hu> Date: Wed Sep 11 00:33:13 2013 +0200 code cosmetic commit 09dbfb2fdb6a2d85352cd6f83bd60c43c7f14238 Author: soyer <soyer@irl.hu> Date: Wed Sep 11 00:23:55 2013 +0200 support for shared_cache=true propery commit a5c0060c3574cef25701c9b268ffe9bb882d5e99 Author: soyer <soyer@irl.hu> Date: Wed Sep 11 00:20:36 2013 +0200 fix no newline warning commit 002360ae0a9cd683c71cefdb015db504644a478f Author: Mateusz Loskot <mateusz@loskot.net> Date: Tue Sep 10 22:47:09 2013 +0100 s/valsIn/ids/ clean up in example commit d9808ee5bf758f707a5b99c417871c5390d15b1b Author: Mateusz Loskot <mateusz@loskot.net> Date: Tue Sep 3 23:27:36 2013 +0100 Add test for use of indicators with rowset<row> Add note on row::get_indicator member function to dynamic resultset binding topic of documentation. This addresses Rodrigo Madera's request http://thread.gmane.org/gmane.comp.db.soci.user/2651 commit 937461f93c5f31c33fce68ec8a8311093965faaf Author: Mateusz Loskot <mateusz@loskot.net> Date: Tue Sep 3 01:15:45 2013 +0100 Handle SQLITE3_LIBRARIES by find_package_handle_standard_args Fixes #182 commit e66d3ef61c1389a79c872855eda44066c465de64 Author: Mateusz Loskot <mateusz@loskot.net> Date: Mon Sep 2 23:36:04 2013 +0100 Specify once_temp_type dtor with noexcept(false) This addresses issues due to C++11 changes pointed some time ago by Roger Orr (http://sourceforge.net/mailarchive/message.php?msg_id=26451676). Fixes #181. commit 3c2829ffd7beb601178df5ae5e1a506cc2bd7c63 Author: Mateusz Loskot <mateusz@loskot.net> Date: Mon Sep 2 23:11:26 2013 +0100 Replace sqlite3_prepare with sqlite3_prepare_v2 SQLite3 manual suggests: the sqlite3_prepare_v2() and sqlite3_prepare16_v2() interfaces are recommended for all new programs. Fixes #188 commit 456e54929e06da2538aa44fe43305cfe188c212f Author: Mateusz Loskot <mateusz@loskot.net> Date: Mon Sep 2 22:20:26 2013 +0100 Replace stdarg.h with cstdarg commit 8f138e05b91591de022846425dbd359e76fe5886 Author: Frank Bielig <dev@bielig.info> Date: Thu Aug 1 14:50:10 2013 +0200 fixed wrong size parameter in final memcpy() commit ec3d8add21493982d87eae5775b3ca4b42f93413 Author: Cengizhan Paşaoğlu <cengizhanpasaoglu@gmail.com> Date: Mon Jul 29 13:15:05 2013 +0300 In Unix System cmake could not find ORACLE_NNZ_LIBRARY for Oracle 12g.libnnz12 and nnz12 are added for Oracle 12g backends for finding path correctly. commit 22d0bcafcd59733a452a53fb4633c3e35295dcc8 Author: Mateusz Loskot <mateusz@loskot.net> Date: Thu Jul 25 02:44:19 2013 +0100 Wrong GCC_VERSION for commandline-overriden GCC Fixes #178 [ci skip] commit d4467df45978135ae8ab5e8cad9a75bda0633a45 Author: Mateusz Loskot <mateusz@loskot.net> Date: Thu Jul 25 02:40:04 2013 +0100 Disable DB2 ODBC test on Travis CI Since #171 changes, ODBC and DB2 are tested on separate VMs, so ODBC VM lacks of DB2 driver for ODBC. commit c7b05086748398b6d0562b3f403980cc3e67e114 Author: Mateusz Loskot <mateusz@loskot.net> Date: Sat Jul 20 17:38:32 2013 +0100 Re-enable Travis CI notifications to soci-devel commit 0b989ab99e0fb27161a0b365a40c33ce1167f627 Author: Mateusz Loskot <mateusz@loskot.net> Date: Sat Jul 20 13:42:02 2013 +0100 Configure Travis CI matrix for odbc backend create mode 100755 bin/ci/before_install_odbc.sh create mode 100755 bin/ci/before_script_odbc.sh create mode 100755 bin/ci/script_odbc.sh commit 4a47297f805cb3fb1ddeae584f754da31079dba0 Author: Mateusz Loskot <mateusz@loskot.net> Date: Sat Jul 20 02:48:51 2013 +0100 Configure Travis CI matrix for oracle backend create mode 100755 bin/ci/before_install_oracle.sh create mode 100755 bin/ci/script_oracle.sh commit e9fc0925e6b3e1c6e7c61ef2022df7a79a1165a2 Author: Mateusz Loskot <mateusz@loskot.net> Date: Sat Jul 20 02:48:28 2013 +0100 Add missing absolute paths to common.sh sourcing commit 1818bb01c67db61798e3836130e739869742aacd Author: Mateusz Loskot <mateusz@loskot.net> Date: Sat Jul 20 02:38:13 2013 +0100 Clean up common apt-get install line commit d7f85a52e8ab640940710fd37705af287cc2707a Author: Mateusz Loskot <mateusz@loskot.net> Date: Sat Jul 20 02:05:37 2013 +0100 Disable PostgreSQL in Firebird build setup commit 7204d311a04f4712134489c7a1d32db3f59f0b4d Author: Mateusz Loskot <mateusz@loskot.net> Date: Sat Jul 20 02:02:42 2013 +0100 Configure Travis CI matrix for Firebird backend create mode 100755 bin/ci/before_install_firebird.sh create mode 100755 bin/ci/before_script_firebird.sh create mode 100755 bin/ci/script_firebird.sh commit be2277e4dd3fb265966932c6b49809310d9633ac Author: Mateusz Loskot <mateusz@loskot.net> Date: Sat Jul 20 01:58:08 2013 +0100 Actually switch MySQL ON commit 0616a9dbbdb9ea4bac6493b7d41fdb9294022184 Author: Mateusz Loskot <mateusz@loskot.net> Date: Sat Jul 20 01:55:46 2013 +0100 Configure Travis CI matrix for MySQL backend create mode 100755 bin/ci/before_script_mysql.sh create mode 100755 bin/ci/script_mysql.sh commit c54c2e1428c1a629078fec5e2caa0529bf017233 Author: Mateusz Loskot <mateusz@loskot.net> Date: Sat Jul 20 01:47:36 2013 +0100 Set SOCI_TRAVIS_BACKEND=postgresql missing from previous commit commit a306e51631757076db5cec2f80cb50ce4e8adcf8 Author: Mateusz Loskot <mateusz@loskot.net> Date: Sat Jul 20 01:40:23 2013 +0100 Configure Travis CI matrix for PostgreSQL backend create mode 100755 bin/ci/before_script_postgresql.sh create mode 100755 bin/ci/script_postgresql.sh commit ca4b583a33ca77300bf3e9d52799d8267f75f8cc Author: Mateusz Loskot <mateusz@loskot.net> Date: Sat Jul 20 01:39:37 2013 +0100 Update script comments commit 37f695728d9ad363990ddf87e2bcb5293da5d8c8 Author: Mateusz Loskot <mateusz@loskot.net> Date: Sat Jul 20 01:30:15 2013 +0100 Set explicit SOCI_SQLITE3_TEST_CONNST option commit 446f3cbbcaaecea364fbe25ca874f8fa86254374 Author: Mateusz Loskot <mateusz@loskot.net> Date: Sat Jul 20 01:26:48 2013 +0100 Add common bash functions run_make and run_test commit c2a6a18b18ee5d2dbef51099e7ef386b8b8f9132 Author: Mateusz Loskot <mateusz@loskot.net> Date: Sat Jul 20 01:08:20 2013 +0100 Enable SQLite3 backend build commit 632a5d2f231edd44b7f5dfcd9da80c4be11f5f8d Author: Mateusz Loskot <mateusz@loskot.net> Date: Sat Jul 20 01:02:42 2013 +0100 Configure CMake with odbc, oracle and SQLITE3 backends commit 2a84c404c3f2e9298c9809cdbbde6697b43f6107 Author: Mateusz Loskot <mateusz@loskot.net> Date: Sat Jul 20 00:45:40 2013 +0100 Configure CMake with mysql and postgresql backends commit 2cf480cce6858b4c4c2f836c05778abc73868448 Author: Mateusz Loskot <mateusz@loskot.net> Date: Sat Jul 20 00:40:51 2013 +0100 Configure CMake with empty and firebird backends commit dbdb0198911b470c5968a88b9eccc65b42437daf Author: Mateusz Loskot <mateusz@loskot.net> Date: Sat Jul 20 00:36:14 2013 +0100 Adding CMake options one at time Debugging Travis CI behaviour commit bcf8ea9ee7630b477313b0701d3a058915b3c4c1 Author: Mateusz Loskot <mateusz@loskot.net> Date: Sat Jul 20 00:33:23 2013 +0100 Enable tests. Disable DB2 commit c34412c6cc92ae84efe1d131a6f95254f7706c0b Author: Mateusz Loskot <mateusz@loskot.net> Date: Sat Jul 20 00:27:37 2013 +0100 Disable SQLite3 for empty backend build commit 8e8f1cafce757cd005f41cc97d4eb7555c5f48aa Author: Mateusz Loskot <mateusz@loskot.net> Date: Sat Jul 20 00:18:58 2013 +0100 Rely on bash -e, not manual exit 1 commit 6ca9df75fd7b504a134ec5d2f474c696a9a59f56 Author: Faik Uygur <faik.uygur@cardtek.com> Date: Fri Jul 19 15:06:48 2013 +0300 Set noData_ to false while calling execute fetch sets noData_ to true when OCIStmtFetch returns OCI_NO_DATA, so subsequent calls to fetch returns ef_no_data immediately. But noData_ is not set to false again anywhere other than the constructor. noData_ should be set to false if OCIStmtExecute returns with success. commit b99b922e20a073ff6d39aa2093456631447c9dce Author: Mateusz Loskot <mateusz@loskot.net> Date: Fri Jul 19 01:24:21 2013 +0100 Still testing source locations commit cc6bfee37bf047f69cea239401a0793a7bbd1e7c Author: Mateusz Loskot <mateusz@loskot.net> Date: Fri Jul 19 01:19:37 2013 +0100 Still testing source locations commit ad76b28f0b2117ed32ed01128b98e5568f8f5199 Author: Mateusz Loskot <mateusz@loskot.net> Date: Fri Jul 19 01:17:26 2013 +0100 Still testing source locations commit de03bc5520f416127b898eedfbaa588f90ab3009 Author: Mateusz Loskot <mateusz@loskot.net> Date: Fri Jul 19 01:14:46 2013 +0100 Still testing source locations commit 086b1ee02537770037d7d9a8c86ca36eca65a198 Author: Mateusz Loskot <mateusz@loskot.net> Date: Fri Jul 19 01:07:41 2013 +0100 Still testing source locations commit 732957ea1d9b9b7c508f97c9a02b966de3c02ff5 Author: Mateusz Loskot <mateusz@loskot.net> Date: Fri Jul 19 01:04:45 2013 +0100 Still testing source locations commit 7bbd4c5d82dffb8fde2ea1f278f2a114427da438 Author: Mateusz Loskot <mateusz@loskot.net> Date: Fri Jul 19 00:54:15 2013 +0100 Clean up source locations clash commit 66b4bf6216c2405632c4fe98c15a76b331f7ea4f Author: Mateusz Loskot <mateusz@loskot.net> Date: Fri Jul 19 00:48:22 2013 +0100 Delete unused script delete mode 100755 bin/ci/before_install_empty.sh commit c62b0e61b6e032e1551ffbff1848612b1403bc6a Author: Mateusz Loskot <mateusz@loskot.net> Date: Fri Jul 19 00:44:08 2013 +0100 Still fixing source location commit eb09cb97563f763377bc7b23f87a9a57ff2b9e39 Author: Mateusz Loskot <mateusz@loskot.net> Date: Fri Jul 19 00:28:22 2013 +0100 Correct build/source locations for CMake Add -e to shebang. Add CMake options for empty backend Use TCI_ prefix for custom variables. commit c468e6d9a0e9771e3cad0a686d8e94e3f14ef9a4 Author: Mateusz Loskot <mateusz@loskot.net> Date: Wed Jul 10 01:25:36 2013 +0100 Use TRAVIS_BUILD_DIR to locate sources for CMake commit ce8fd2537387593211c14893ff975739a7f4913a Author: Mateusz Loskot <mateusz@loskot.net> Date: Wed Jul 10 01:24:00 2013 +0100 Testing source location for CMake commit f66fe59c892d7def64aa595c665310b832dfbca2 Author: Mateusz Loskot <mateusz@loskot.net> Date: Wed Jul 10 01:18:54 2013 +0100 Format .sh scripts commit 03fa4f8ed7b58a8ee60666d999cdc736d980829e Author: Mateusz Loskot <mateusz@loskot.net> Date: Wed Jul 10 01:14:31 2013 +0100 Correct script missing error commit 8f1795963da39ed7ce98111c9571b00d43ffce60 Author: Mateusz Loskot <mateusz@loskot.net> Date: Wed Jul 10 01:08:39 2013 +0100 Use TRAVIS_BUILD_DIR to locate builddir commit 1fbea59dae3f22c7295fe067d7c545ad04baf75b Author: Mateusz Loskot <mateusz@loskot.net> Date: Wed Jul 10 01:01:49 2013 +0100 Use TRAVIS_BUILD_DIR to locate scripts commit 358070c141b30505326ea0bbea3d12cd40abde23 Author: Mateusz Loskot <mateusz@loskot.net> Date: Wed Jul 10 00:55:46 2013 +0100 Make no-op script step verbose commit 88cfa67bcdbb75c0f2dbb7690f53d68101248aef Author: Mateusz Loskot <mateusz@loskot.net> Date: Wed Jul 10 00:49:21 2013 +0100 Remove backend-specific commands from before_script.sh Remove no-op scripts, allow non-existent before_script scripts. delete mode 100755 bin/ci/before_install_sqlite3.sh delete mode 100755 bin/ci/before_script_empty.sh delete mode 100755 bin/ci/before_script_sqlite3.sh commit 7e52c9235e1987b5fb8975b5de094eac6059d962 Author: Mateusz Loskot <mateusz@loskot.net> Date: Wed Jul 10 00:35:50 2013 +0100 Add extra blank line Trigger build for github.com/mloskot/soci fork commit a382a1af42b032429eca5cdfd7d150ce2b9b6c57 Author: Mateusz Loskot <mateusz@loskot.net> Date: Wed Jul 10 00:24:21 2013 +0100 Initial Travis CI build matrix for backends create mode 100755 bin/ci/before_install_empty.sh create mode 100755 bin/ci/before_install_sqlite3.sh create mode 100755 bin/ci/before_script_empty.sh create mode 100755 bin/ci/before_script_sqlite3.sh create mode 100755 bin/ci/script_empty.sh create mode 100755 bin/ci/script_sqlite3.sh commit a76a093cb1031f067789607bfef3df290e61f189 Author: Joerg Sonnenberger <joerg@NetBSD.org> Date: Fri Jul 5 23:03:49 2013 +0200 Explicitly include stdarg.h pulled in by namespace-protected sqlite.h. The namespace wrapper around sqlite.h forces the va_list type definition into the same namespace. A latter include of <cstdarg> may therefore break as seen with libc++. commit c8b57fcd28e0650debdcec5242dbffb83298fccf Author: Mateusz Loskot <mateusz@loskot.net> Date: Thu Jul 4 22:41:36 2013 +0100 Disable notifications to soci-devel (temporarily) commit 8127543cf3069eb5940a4d6ac1622b1e4e967adc Author: Mateusz Loskot <mateusz@loskot.net> Date: Wed Jul 3 22:43:54 2013 +0100 Ignore more filesystem objects Conflicts: .gitignore [ci skip] commit e7b7467e1ae8eea068407260d89c906d9e08131d Author: Mateusz Loskot <mateusz@loskot.net> Date: Wed Jul 3 23:22:08 2013 +0100 Call ASCII version of ODBC function SQLGetDiagRec Fixes #163 Note, similar function(s) are part of DB2 API, but it is unclear if those should be renamed to ASCII versions - to be reviewed commit 347bb681387e58818ba346fd6fddb39e48aff029 Author: Mateusz Loskot <mateusz@loskot.net> Date: Wed Jul 3 22:43:54 2013 +0100 Ignore more filesystem objects commit d983a4461946a521db5a68e420dc68160be40396 Author: Mateusz Loskot <mateusz@loskot.net> Date: Thu Jun 27 00:04:40 2013 +0100 Ignore src/_build commit 5c88025f8f647dac0255fb675bb131390a166602 Author: Ricardo Andrade <ricardofabianodeandrade@gmail.com> Date: Tue Jun 25 22:44:42 2013 -0300 Missing includes in changed files. commit c6ce9782589bc5f90ffc9dc1fa257026b3c6d0ac Author: Ricardo Andrade <ricardofabianodeandrade@gmail.com> Date: Tue Jun 25 11:00:02 2013 -0300 A more compatible test for issue #154, make firebird run it. commit 59f8a5b3e9cb9eb76ae116d426321fa181ba6015 Author: Mateusz Loskot <mateusz@loskot.net> Date: Tue Jun 25 10:24:07 2013 +0100 Disable test of define_and_bind sequence for vector ... |