The merge was done manually copying relevant code changes from 1.1.
In particulary merged the patch for CONCPP-94
Also many changes, that fix real possible issues, that was also present in 1.0 and found while
working on 1.1. For example(but not limited to), there were many cases of incorrect
find_first_of std::string method, where find had to be really used.
This includes fixes of various outstanding bugs in CSPS
Made setDouble to accept long double(CONCPP-55)
static_test and driver_test now make one run with default CSPS, and one
with SSPS
Updated README.md with more options info. Changed desription of some
options in DefaultOptions.cpp. Fixed use of autoReconnect and
localSocket
Tests connection credentials can be passed using env variables. All
tests use the same settings for that.
Added the link to the documentation to the README(.md)
Changed in SQLString all size_t to std::size_t(more like for
consictency).
Added npos constant there
Also fixed error in tests, that could make ctest not to notice filed
test suites.
Increased timeouts for some tests(skysql)
Some changes in travis osx script
The public API has been slightly corrected - Statement methods
duplicated in PreparedStatement have been removed. A const qualifier has
been added to the parameter type in one of methods for consistency.
The testcase verifies, that exception is thrown, and with a correct
message.
CONCPP-23 and CONCPP-12 are connected, since good part of warnings were
caused by the SQLString class, and its redesign eleminated them among other
things. CONCPP-22 changes could probably be separated from others, but changed files
could also contain changes for other tickets. And still can be fairly
easy separated in case of need.
SQLString now hides internal string implementation and does not provide
the operator for transparent cast to std::string. While const char*
stays in place. Depending on the compiler, a construction
std::string var= <method_call_returning_SQLString>;
may work or may work not.
std::string var(<method_call_returning_SQLString>);
seems to be more portable.
But in the particular case of a blob fetched with
the getString, using the SQLString variable to accept the value is probably the only
choice(because of possible \0 bytes in the string)
Move constructor has been added.
Added new Tls options and removes some, that did not make sense in
C/C++. Added Tls options processing, i.e. fixed the bug.
Added facility to provide aliases for connection options. Renamed many
options and/or added aliases. Added table to README.md with information
about such options.
connect(Properties) now take port property into consideration.
Changed all tests to have configurable via cmake parameters connection
defaults.
cts.sql now uses optional database, and is located in
CMAKE_BINARY_DIR/test