2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-29 13:07:50 +00:00

[#805,!5-p] Memfile and kea-dhcp4 now suppor max-row-errors parameter

src/bin/dhcp4/dhcp4_lexer.ll
src/bin/dhcp4/dhcp4_parser.yy
    Added max-row-errors

src/lib/database/database_connection.*
src/lib/database/dbaccess_parser.*
    Added max-row-errors

src/lib/database/tests/dbaccess_parser_unittest.cc
    New tests for max-row-errors

src/lib/dhcpsrv/lease_file_loader.h
    Changed logic value of 0 means unlimited

src/lib/dhcpsrv/memfile_lease_mgr.cc
    Memfile_LeaseMgr::loadLeasesFromFiles() - now uses
    connection parmater value for max-row-errors or 0
    if not specified

src/lib/dhcpsrv/tests/lease_file_loader_unittest.cc
    TEST_F(LeaseFileLoaderTest, maxRowErrors4) - new unit test
    to verify max-row-errors operation

src/lib/dhcpsrv/tests/memfile_lease_mgr_unittest.cc
   TEST_F(MemfileLeaseMgrTest, constructor) - added tests for
   max-row-errors
This commit is contained in:
Thomas Markwalder 2019-08-09 10:03:07 -04:00
parent e961af14f9
commit 877ca52411
6 changed files with 5361 additions and 60 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,8 +1,12 @@
<<<<<<< HEAD
<<<<<<< HEAD
// A Bison parser, made by GNU Bison 3.4.1.
=======
// A Bison parser, made by GNU Bison 3.2.1.
>>>>>>> [#805,!5-p] Memfile and kea-dhcp4 now suppor max-row-errors parameter
=======
// A Bison parser, made by GNU Bison 3.2.1.
>>>>>>> [#805,!5-p] Memfile and kea-dhcp4 now suppor max-row-errors parameter
// Locations for Bison parsers in C++

View File

@ -1,8 +1,12 @@
<<<<<<< HEAD
<<<<<<< HEAD
// A Bison parser, made by GNU Bison 3.4.1.
=======
// A Bison parser, made by GNU Bison 3.2.1.
>>>>>>> [#805,!5-p] Memfile and kea-dhcp4 now suppor max-row-errors parameter
=======
// A Bison parser, made by GNU Bison 3.2.1.
>>>>>>> [#805,!5-p] Memfile and kea-dhcp4 now suppor max-row-errors parameter
// Starting with Bison 3.2, this file is useless: the structure it
// used to define is now defined in "location.hh".

View File

@ -1,8 +1,12 @@
<<<<<<< HEAD
<<<<<<< HEAD
// A Bison parser, made by GNU Bison 3.4.1.
=======
// A Bison parser, made by GNU Bison 3.2.1.
>>>>>>> [#805,!5-p] Memfile and kea-dhcp4 now suppor max-row-errors parameter
=======
// A Bison parser, made by GNU Bison 3.2.1.
>>>>>>> [#805,!5-p] Memfile and kea-dhcp4 now suppor max-row-errors parameter
// Starting with Bison 3.2, this file is useless: the structure it
// used to define is now defined with the parser itself.