Bug#42430 Final commit to 5.0-bugteam

This commit is contained in:
Staale Smedseng 2009-04-16 11:40:51 +02:00
commit 9301da563f
3 changed files with 5 additions and 5 deletions

View file

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

View file

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

View file

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