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
352e93df
Commit
352e93df
authored
Jun 11, 2007
by
tomas@whalegate.ndb.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
internal interface to ndb (to be used by e.g. ndb_restore)
parent
03fc4e6c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
30 additions
and
1 deletion
+30
-1
storage/ndb/include/ndbapi/Ndb.hpp
storage/ndb/include/ndbapi/Ndb.hpp
+1
-0
storage/ndb/src/ndbapi/NdbEventOperationImpl.cpp
storage/ndb/src/ndbapi/NdbEventOperationImpl.cpp
+2
-1
storage/ndb/src/ndbapi/ndb_internal.hpp
storage/ndb/src/ndbapi/ndb_internal.hpp
+27
-0
No files found.
storage/ndb/include/ndbapi/Ndb.hpp
View file @
352e93df
...
...
@@ -1055,6 +1055,7 @@ class Ndb
friend
class
NdbDictInterface
;
friend
class
NdbBlob
;
friend
class
NdbImpl
;
friend
class
Ndb_internal
;
#endif
public:
...
...
storage/ndb/src/ndbapi/NdbEventOperationImpl.cpp
View file @
352e93df
...
...
@@ -41,6 +41,7 @@
#include <NdbEventOperation.hpp>
#include "NdbEventOperationImpl.hpp"
#include <signaldata/AlterTable.hpp>
#include "ndb_internal.hpp"
#include <EventLogger.hpp>
extern
EventLogger
g_eventLogger
;
...
...
@@ -2838,7 +2839,7 @@ NdbEventBuffer::reportStatus()
data
[
5
]
=
apply_gci
>>
32
;
data
[
6
]
=
latest_gci
&
~
(
Uint32
)
0
;
data
[
7
]
=
latest_gci
>>
32
;
m_ndb
->
theImpl
->
send_event_report
(
data
,
8
);
Ndb_internal
().
send_event_report
(
m_ndb
,
data
,
8
);
#ifdef VM_TRACE
assert
(
m_total_alloc
>=
m_free_data_sz
);
#endif
...
...
storage/ndb/src/ndbapi/ndb_internal.hpp
0 → 100644
View file @
352e93df
/* Copyright (C) 2007 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; version 2 of the License.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
#include <ndb_global.h>
#include <Ndb.hpp>
class
Ndb_internal
{
private:
friend
class
NdbEventBuffer
;
Ndb_internal
()
{}
virtual
~
Ndb_internal
()
{}
int
send_event_report
(
Ndb
*
ndb
,
Uint32
*
data
,
Uint32
length
)
{
return
ndb
->
theImpl
->
send_event_report
(
data
,
length
);
}
};
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