mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-09-02 23:15:20 +00:00
[5629] PostgreSQL Lease back end now properly validates schema version
src/lib/dhcpsrv/pgsql_lease_mgr.cc PgSqlLeaseMgr::PgSqlLeaseMgr() - now validates schema version before preparing SQL statements PgSqlLeaseMgr::getVersion() - no longers uses pre-prepared statement or formal statement execution error checking
This commit is contained in:
@@ -475,7 +475,7 @@ public:
|
||||
///
|
||||
/// The method is called by the constructor after opening the database
|
||||
/// but prior to preparing SQL statements, to verify that the schema version
|
||||
/// is correct. Thus it does not rely on a pre-prepared statement or
|
||||
/// is correct. Thus it must not rely on a pre-prepared statement or
|
||||
/// formal statement execution error checking.
|
||||
///
|
||||
/// @return Version number as a pair of unsigned integers. "first" is the
|
||||
|
Reference in New Issue
Block a user