ovsdb: Open database in binary mode.
authorGurucharan Shetty <gshetty@nicira.com>
Thu, 8 May 2014 20:31:18 +0000 (13:31 -0700)
committerGurucharan Shetty <gshetty@nicira.com>
Wed, 14 May 2014 21:45:19 +0000 (14:45 -0700)
commit3e94784cb7202847ecde47e389a377ff0003c285
treea83bcb6c4d8d3add9072bef816046843f0d367e9
parent52ca734e820d6b183aba5ca1c7d714f3c7e7a781
ovsdb: Open database in binary mode.

Some ovsdb-tool related unit tests fail with bad checksum errors
while reading transactions from database. It is most likely because
of the CR at the end of line. Using binary mode solves the problem.

Signed-off-by: Gurucharan Shetty <gshetty@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
ovsdb/log.c