Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
9301da56
Commit
9301da56
authored
Apr 16, 2009
by
Staale Smedseng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug#42430 Final commit to 5.0-bugteam
parent
3819daf0
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
cmd-line-utils/libedit/term.c
cmd-line-utils/libedit/term.c
+1
-1
ndb/tools/restore/consumer_restore.cpp
ndb/tools/restore/consumer_restore.cpp
+2
-2
ndb/tools/restore/consumer_restorem.cpp
ndb/tools/restore/consumer_restorem.cpp
+2
-2
No files found.
cmd-line-utils/libedit/term.c
View file @
9301da56
...
...
@@ -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
...
...
ndb/tools/restore/consumer_restore.cpp
View file @
9301da56
...
...
@@ -556,7 +556,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
...
...
@@ -693,7 +693,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
...
...
ndb/tools/restore/consumer_restorem.cpp
View file @
9301da56
...
...
@@ -373,7 +373,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
...
...
@@ -462,7 +462,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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment