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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
3bea588c
Commit
3bea588c
authored
Apr 16, 2009
by
Staale Smedseng
Browse files
Options
Browse Files
Download
Plain Diff
Merge from 5.0-bugteam
parents
c90a869c
9301da56
Changes
3
Show 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
storage/ndb/tools/restore/consumer_restore.cpp
storage/ndb/tools/restore/consumer_restore.cpp
+2
-2
storage/ndb/tools/restore/consumer_restorem.cpp
storage/ndb/tools/restore/consumer_restorem.cpp
+2
-2
No files found.
cmd-line-utils/libedit/term.c
View file @
3bea588c
...
...
@@ -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
...
...
storage/ndb/tools/restore/consumer_restore.cpp
View file @
3bea588c
...
...
@@ -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
...
...
storage/ndb/tools/restore/consumer_restorem.cpp
View file @
3bea588c
...
...
@@ -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
...
...
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