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
fc35ded3
Commit
fc35ded3
authored
Apr 16, 2009
by
Staale Smedseng
Browse files
Options
Browse Files
Download
Plain Diff
Merge from 5.0-bugteam
parents
8de80ef1
4387f01e
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
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 @
fc35ded3
...
@@ -61,7 +61,7 @@ static char sccsid[] = "@(#)term.c 8.2 (Berkeley) 4/30/95";
...
@@ -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
...
...
storage/ndb/tools/restore/consumer_restore.cpp
View file @
fc35ded3
...
@@ -1375,7 +1375,7 @@ BackupRestore::logEntry(const LogEntry & tup)
...
@@ -1375,7 +1375,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
...
@@ -1524,7 +1524,7 @@ BackupRestore::tuple(const TupleS & tup)
...
@@ -1524,7 +1524,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
...
...
storage/ndb/tools/restore/consumer_restorem.cpp
View file @
fc35ded3
...
@@ -374,7 +374,7 @@ BackupRestore::tuple(const TupleS & tup)
...
@@ -374,7 +374,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
...
@@ -463,7 +463,7 @@ BackupRestore::logEntry(const LogEntry & tup)
...
@@ -463,7 +463,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
...
...
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