Ensure that sql_dbpool_enable is a boolean value

Fixes bug 1089232

Change-Id: Ida46aaf6b41422590ce1c04a606cd24c70891ed9
This commit is contained in:
Gary Kotton 2012-12-12 07:26:28 +00:00
parent b963a93194
commit a630ea4e0d

View File

@ -216,11 +216,11 @@ sql_opts = [
help='Verbosity of SQL debugging information. 0=None, ' help='Verbosity of SQL debugging information. 0=None, '
'100=Everything'), '100=Everything'),
cfg.BoolOpt('sql_connection_trace', cfg.BoolOpt('sql_connection_trace',
default=False, default=False,
help='Add python stack traces to SQL as comment strings'), help='Add python stack traces to SQL as comment strings'),
cfg.IntOpt('sql_dbpool_enable', cfg.BoolOpt('sql_dbpool_enable',
default=False, default=False,
help="enable the use of eventlet's db_pool for MySQL"), help="enable the use of eventlet's db_pool for MySQL"),
] ]
CONF = cfg.CONF CONF = cfg.CONF