summaryrefslogtreecommitdiffstats
path: root/src/lib/mysql (follow)
Commit message (Collapse)AuthorAgeFilesLines
* [#3025] sync kea-admin in db connection and fix interaction with retryAndrei Pavel2024-02-221-26/+26
|
* [#3025] add db init on startup to other managersAndrei Pavel2024-02-222-4/+15
|
* [#3025] switch io service to DatabaseConnection'sAndrei Pavel2024-02-221-1/+1
|
* [#3025] add ability to inherit env in ProcessSpawnAndrei Pavel2024-02-221-1/+3
|
* [#3025] convert db access params to kea-adminAndrei Pavel2024-02-222-5/+22
|
* [#3025] automatic init of mysql schemaAndrei Pavel2024-02-223-3/+126
|
* [#3237] release changesWlodek Wencel2024-01-292-2/+2
|
* [#3235] bump up library versions for 2.5.5 releaseRazvan Becheriu2024-01-261-1/+1
|
* [#3119] use auto const& whenever possibleRazvan Becheriu2024-01-221-4/+4
|
* [#3149] Added a new indexFrancis Dupont2024-01-171-1/+1
|
* [#3019] addressed review commentsRazvan Becheriu2023-12-142-2/+2
|
* [#3019] retry db open on startupRazvan Becheriu2023-12-142-4/+34
|
* [#3053] SKIP_IF review commentsThomas Markwalder2023-09-151-25/+5
| | | | | | | | | src/lib/dhcpsrv/tests/mysql_lease_mgr_unittest.cc src/lib/mysql/tests/mysql_connection_unittest.cc Added use of SKIP_IF() src/lib/testutils/gtest_utils.h Commentary corrections
* [#2990] bump up library versions for 2.5.0 releaseAndrei Pavel2023-07-201-1/+1
|
* [#2792] Removed unused functionMarcin Siodelski2023-07-182-8/+0
|
* [#2792] Check that mysql pointer is non-nullMarcin Siodelski2023-07-182-15/+43
| | | | | | This is a workaround for the libmysqlclient that dereferences mysql ptr in the MYSQL_STMT after reconnect. Kea checks that this pointer is not NULL before using the statement.
* [#2276] Upgrade global param values in DBThomas Markwalder2023-07-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Convert ddns-use-conflict-resolution to ddns-conflict-resolution-mode in DB configure.ac Added new upgrade files src/bin/admin/tests/mysql_tests.sh.in src/bin/admin/tests/pgsql_tests.sh.in new upgrade tests src/lib/mysql/mysql_constants.h src/lib/pgsql/pgsql_connection.h update schema version src/share/database/scripts/mysql/.gitignore src/share/database/scripts/mysql/Makefile.am src/share/database/scripts/mysql/upgrade_019_to_020.sh.in new upgrade script src/share/database/scripts/mysql/dhcpdb_create.mysql added conversion logic to stay in sync with upgrade script src/share/database/scripts/pgsql/Makefile.am src/share/database/scripts/pgsql/.gitignore src/share/database/scripts/pgsql/upgrade_018_to_019.sh.in new upgrade script src/share/database/scripts/pgsql/dhcpdb_create.pgsql added conversion logic to stay in sync with upgrade script
* [#2939] bump up library versions for 2.4.0 releaseRazvan Becheriu2023-06-291-1/+1
|
* [#2909] Mysql v6 addresses to binaryThomas Markwalder2023-06-212-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | lease6.address and ipv6_reservations.address columns changed from varbinary(39) to binary(16). lease6.binaddr column removed deleted: src/share/api/binary-address6-upgrade.json new file: src/share/database/scripts/mysql/upgrade_018_to_019.sh.in configure.ac added new mysql upgrade script doc/sphinx/arm/hooks-lease-query.rst removed doc for binary-address6-upgrade command src/bin/admin/tests/mysql_tests.sh.in modified to use inet6_aton/ntoa as now needed Updated to test upgrage src/lib/dhcpsrv/lease_mgr.h LeaseMgr::upgradeBinaryAddress6() - no longer abstract, provides a dummy implemention src/lib/dhcpsrv/mysql_host_data_source.cc Change v6 reservation address to binary src/lib/dhcpsrv/mysql_lease_mgr.* Remove lease6.binaddr and uses Change lease6.address to binary src/lib/mysql/mysql_constants.h Update schema version src/share/api/api_files.mk Remove binary-address6-upgrade.json src/share/database/scripts/mysql/Makefile.am Add upgrade script src/share/database/scripts/mysql/dhcpdb_create.mysql Modify lease6, ipv6_reservations, and impacted functions
* [#2885] bump up library versions for 2.3.8 releaseRazvan Becheriu2023-05-261-1/+1
|
* [#2786] addressed commentsRazvan Becheriu2023-05-091-1/+1
|
* [#2837] bump up library versions for 2.3.7 releaseRazvan Becheriu2023-04-201-1/+1
|
* [#2823] DB schemas include allocatorsMarcin Siodelski2023-04-191-1/+1
|
* [#2752] Rebased new schemasFrancis Dupont2023-03-301-1/+1
|
* [#2809] release changesKea-2.3.6Marcin Godzina2023-03-241-1/+1
|
* [#2807] bump up library versions for 2.3.6 releaseRazvan Becheriu2023-03-241-1/+1
|
* [#719] Reapplied patchFrancis Dupont2023-03-151-1/+1
|
* [#2732] release changesKea-2.3.4Wlodek Wencel2023-01-231-1/+1
|
* [#2726] 2.3.4 release: bump library versionsRazvan Becheriu2023-01-231-1/+1
|
* [#2727] introduce HAVE_MYSQL_GET_OPTIONAndrei Pavel2023-01-231-34/+36
| | | | | | | Addresses error: mysql_connection_unittest.cc: In member function ‘virtual void {anonymous}::MySqlConnectionTest_connectionTimeout_Test::TestBody()’: mysql_connection_unittest.cc:633:77: error: ‘mysql_get_option’ was not declared in this scope EXPECT_EQ(0, mysql_get_option(mysql, MYSQL_OPT_CONNECT_TIMEOUT, &timeout));
* [#2688] New tests for invalid port numberMarcin Siodelski2023-01-172-1/+16
|
* [#2688] Added tcp_user_timeout parameterMarcin Siodelski2023-01-171-6/+4
|
* [#2688] Added read-timeout and write-timeoutMarcin Siodelski2023-01-173-57/+209
| | | | New parameters have been added for MySQL connection.
* [#2546] bump lib versions for 2.3.0Razvan Becheriu2022-08-291-1/+1
|
* [#2071] Fixed wipe script pathsFrancis Dupont2022-08-103-4/+5
|
* [#2071] fixed use of valgrindRazvan Becheriu2022-08-101-2/+1
|
* [#2463] release changesMarcin Godzina2022-06-272-2/+2
|
* [#2455] bump lib versions for 2.1.7Razvan Becheriu2022-06-271-1/+1
|
* [#2438] add MySqlLeaseMgr::isJsonSupported()Andrei Pavel2022-06-222-0/+11
|
* [#2299] Create subnet audit entry when network is deletedThomas Markwalder2022-06-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update subnets in shared-network BDEL trigger rather than relying on foreign key update action new files: src/share/database/scripts/mysql/upgrade_013_to_014.sh.in src/share/database/scripts/pgsql/upgrade_011_to_012.sh.in configure.ac added: src/share/database/scripts/mysql/upgrade_013_to_014.sh src/share/database/scripts/pgsql/upgrade_011_to_012.sh src/bin/admin/tests/mysql_tests.sh.in added 13 to 14 checks src/bin/admin/tests/pgsql_tests.sh.in added 11 to 12 checks src/hooks/dhcp/mysql_cb/tests/mysql_cb_dhcp4_unittest.cc src/hooks/dhcp/mysql_cb/tests/mysql_cb_dhcp6_unittest.cc enabled disabled tests src/lib/dhcpsrv/testutils/generic_cb_dhcp4_unittest.cc GenericConfigBackendDHCPv4Test::getAllSharedNetworks4Test() - updated expected audit entry order src/lib/dhcpsrv/testutils/generic_cb_dhcp6_unittest.cc GenericConfigBackendDHCPv6Test::getAllSharedNetworks6Test() - updated expected audit entry order src/lib/mysql/mysql_constants.h Updated schema version to 14 src/lib/pgsql/pgsql_connection.h Updated schema version to 12 src/share/database/scripts/mysql/.gitignore src/share/database/scripts/mysql/Makefile.am added upgrade_013_to_014.sh src/share/database/scripts/mysql/dhcpdb_create.mysql subnet rows are now updated directly in shared-network BEFORE delete triggers (v4 and v6) src/share/database/scripts/pgsql/Makefile.am added upgrade_011_to_012.sh src/share/database/scripts/pgsql/dhcpdb_create.pgsql subnet rows are now updated directly in shared-network BEFORE delete triggers (v4 and v6)
* [#2353] log exceptions in MySQL unit testsAndrei Pavel2022-04-021-22/+26
|
* [#2294] add quotesAndrei Pavel2022-02-091-1/+1
|
* [#2294] also check server global variables ssl_ca, ssl_cert and ssl_keyRazvan Becheriu2022-02-092-9/+41
|
* [#2290] release changesAndrei Pavel2022-01-256-6/+6
|
* [#2281] bump lib versions for 2.1.2Razvan Becheriu2022-01-251-1/+1
|
* [#2038] kea-admin lease-dump mysql outputs a memfile-ready CSVAndrei Pavel2022-01-131-1/+1
|
* [#34] Added a Tcp UTFrancis Dupont2022-01-061-0/+9
|
* [#34] Added VALID_HOST_TCPFrancis Dupont2022-01-061-5/+5
|
* [#34] Addressed some commentsFrancis Dupont2022-01-061-2/+2
|
* [#34] Addressed almost all commentsFrancis Dupont2022-01-062-4/+4
|