Bug #2857

onedb may incorrectly report a master DB as a slave

Added by Carlos Martín about 7 years ago. Updated about 7 years ago.

Status:ClosedStart date:04/29/2014
Priority:NormalDue 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

Revision b3483aac
Added by Carlos Martín about 7 years ago

Bug #2857: Fix boolean column for sqlite, do not report false errors in slave DB

Revision 7c644289
Added by Carlos Martín about 7 years ago

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

Also available in: Atom PDF