Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
Kea
Commits
23ecfc00
Commit
23ecfc00
authored
Jan 25, 2017
by
Tomek Mrugalski
🛰
Browse files
[5096] @todo added about migrating default values to simple parser
parent
e74dccaf
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/lib/dhcpsrv/mysql_connection.cc
View file @
23ecfc00
...
...
@@ -28,6 +28,7 @@ const my_bool MLM_TRUE = 1;
const
int
MLM_MYSQL_FETCH_SUCCESS
=
0
;
const
int
MLM_MYSQL_FETCH_FAILURE
=
1
;
/// @todo: Migrate this default value to src/bin/dhcpX/simple_parserX.cc
const
int
MYSQL_DEFAULT_CONNECTION_TIMEOUT
=
5
;
// seconds
MySqlTransaction
::
MySqlTransaction
(
MySqlConnection
&
conn
)
...
...
src/lib/dhcpsrv/pgsql_connection.cc
View file @
23ecfc00
...
...
@@ -31,6 +31,8 @@ namespace isc {
namespace
dhcp
{
// Default connection timeout
/// @todo: migrate this default timeout to src/bin/dhcpX/simple_parserX.cc
const
int
PGSQL_DEFAULT_CONNECTION_TIMEOUT
=
5
;
// seconds
const
char
PgSqlConnection
::
DUPLICATE_KEY
[]
=
ERRCODE_UNIQUE_VIOLATION
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment