new file:
src/share/database/scripts/mysql/upgrade_5.1_to_5.2.sh.in
renamed:
src/share/database/scripts/mysql/upgrade_5.1_to_6.0.sh.in
-> src/share/database/scripts/mysql/upgrade_5.2_to_6.0.sh.in
new file:
src/share/database/scripts/pgsql/upgrade_3.2_to_3.3.sh.in
renamed:
src/share/database/scripts/pgsql/upgrade_3.2_to_4.0.sh.in
-> src/share/database/scripts/pgsql/upgrade_3.3_to_4.0.sh.in
src/lib/dhcpsrv/pgsql_host_data_source.cc
changed OID_INT4 to OID_INT8 for subnet_id inputs in
TaggedStatements
src/lib/dhcpsrv/tests/generic_host_data_source_unittest.h
src/lib/dhcpsrv/tests/generic_host_data_source_unittest.cc
src/lib/dhcpsrv/tests/mysql_host_data_source_unittest.cc
src/lib/dhcpsrv/tests/pgsql_host_data_source_unittest.cc
Added new tests to verify maxium value for subnet_id works
src/share/database/scripts/mysql/dhcpdb_create.mysql
Added 5.1 to 5.2 changes
src/share/database/scripts/pgsql/dhcpdb_create.pgsql
Added 3.2 to 3.3 changes
- common code extracted to testutils/host_data_source_utils.cc|h
- doxygen comments written
- compilation warnings removed
- each leasemgr benchmark have at least a short description
- HostDataSource benchmarks partially done, but still WIP
- overall, the diff is 4k and counting...
ReentrantSetUp* methods are needed because you can't control iteration
count
Usage:
./configure --with-benchmark
OR
./configure --with-benchmark-source=/path/to/benchmark/src
make
cd src/lib/dhcpsrv/benchmarks
./run-benchmarks
OR
./run-benchmarks --benchmark_filter="RegExP*"
Error message seen on OpenBSD:
===
./configure[16315]: test: >: unexpected operator/operand
===
Another instance of this problem was fixed previously:
https://github.com/isc-projects/kea/pull/25
configure.ac - changed the glib static test to trigger on
enable-static-link, rather than enable-static. The latter is on by
default, and testing based on this would fall over on lots of systems
requiring folks to specify --disable-static or install the glib static
libs.
configure.ac
Added logic block to look for glib static libs fi enable-static = yes
m4macros/ax_boost_for_kea.m4
Changed to not use libtool for boost lib test.
configure.ac
Added WARNING message when building boost headers only.
m4macros/ax_boost_for_kea.m4
Building with boost system library is the default.
Added --enable-boost-headers-only, to explicitly build with boost
headers only, rather than linking to boost's system library.