Bug #2857
onedb may incorrectly report a master DB as a slave
Status: | Closed | Start date: | 04/29/2014 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | Carlos Martín | % Done: | 0% | |
Category: | Core & System | |||
Target version: | Release 4.6.1 | |||
Resolution: | fixed | Pull request: | ||
Affected Versions: | OpenNebula 4.6 |
Description
It may have to do with the sequel gem version, or sqlite.
The boolean column is not always reported as False, in some configurations it can be reported as 0. Which evaluates to true in:
if ret[:is_slave]
Associated revisions
Bug #2857: Fix boolean column for sqlite, do not report false errors in slave DB
Bug #2857: Fix boolean column for sqlite, do not report false errors in slave DB
(cherry picked from commit b3483aac7f29dd749ce732245a5fd952127d7ec1)
History
#1 Updated by Carlos Martín about 7 years ago
- Target version changed from Release 4.8 to Release 4.6.1
#2 Updated by Carlos Martín about 7 years ago
- Status changed from Pending to Closed
- Resolution set to fixed