Browse Source

Merge from 5.0-bugteam

pull/374/head
Staale Smedseng 17 years ago
parent
commit
3bea588ca1
  1. 2
      cmd-line-utils/libedit/term.c
  2. 4
      storage/ndb/tools/restore/consumer_restore.cpp
  3. 4
      storage/ndb/tools/restore/consumer_restorem.cpp

2
cmd-line-utils/libedit/term.c

@ -61,7 +61,7 @@ static char sccsid[] = "@(#)term.c 8.2 (Berkeley) 4/30/95";
#ifdef HAVE_NCURSES_H
#include <ncurses.h>
#endif
/* Solaris's term.h does horrid things. */
/* Don't use Solaris's term.h. */
#if (defined(HAVE_TERM_H) && !defined(__SunOS))
#include <term.h>
#endif

4
storage/ndb/tools/restore/consumer_restore.cpp

@ -1375,7 +1375,7 @@ BackupRestore::logEntry(const LogEntry & tup)
NdbTransaction * trans = m_ndb->startTransaction();
if (trans == NULL)
{
// Deep shit, TODO: handle the error
// TODO: handle the error
err << "Cannot start transaction" << endl;
exitHandler();
} // if
@ -1524,7 +1524,7 @@ BackupRestore::tuple(const TupleS & tup)
NdbTransaction * trans = m_ndb->startTransaction();
if (trans == NULL)
{
// Deep shit, TODO: handle the error
// TODO: handle the error
ndbout << "Cannot start transaction" << endl;
exitHandler();
} // if

4
storage/ndb/tools/restore/consumer_restorem.cpp

@ -374,7 +374,7 @@ BackupRestore::tuple(const TupleS & tup)
NdbTransaction * trans = m_ndb->startTransaction();
if (trans == NULL)
{
// Deep shit, TODO: handle the error
// TODO: handle the error
ndbout << "Cannot start transaction" << endl;
exit(-1);
} // if
@ -463,7 +463,7 @@ BackupRestore::logEntry(const LogEntry & tup)
NdbTransaction * trans = m_ndb->startTransaction();
if (trans == NULL)
{
// Deep shit, TODO: handle the error
// TODO: handle the error
ndbout << "Cannot start transaction" << endl;
exit(-1);
} // if

Loading…
Cancel
Save