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
12e7f8ef
Commit
12e7f8ef
authored
Dec 23, 2004
by
tomas@poseidon.ndb.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
put all references to async api inside DOXYGEN SKIP_INTERNAL
parent
a32f231f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
1 deletion
+9
-1
ndb/include/ndbapi/Ndb.hpp
ndb/include/ndbapi/Ndb.hpp
+5
-1
ndb/include/ndbapi/NdbBlob.hpp
ndb/include/ndbapi/NdbBlob.hpp
+2
-0
ndb/include/ndbapi/NdbTransaction.hpp
ndb/include/ndbapi/NdbTransaction.hpp
+2
-0
No files found.
ndb/include/ndbapi/Ndb.hpp
View file @
12e7f8ef
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
This guide assumes a basic familiarity with MySQL Cluster concepts.
This guide assumes a basic familiarity with MySQL Cluster concepts.
Some of the fundamental ones are described in section @ref secConcepts.
Some of the fundamental ones are described in section @ref secConcepts.
The <em>NDB API</em> is a
n
MySQL Cluster application interface
The <em>NDB API</em> is a MySQL Cluster application interface
that implements transactions.
that implements transactions.
The NDB API consists of the following fundamental classes:
The NDB API consists of the following fundamental classes:
- Ndb_cluster_connection class representing a connection to a cluster,
- Ndb_cluster_connection class representing a connection to a cluster,
...
@@ -52,9 +52,11 @@
...
@@ -52,9 +52,11 @@
The execute can be of two different types,
The execute can be of two different types,
<em>Commit</em> or <em>NoCommit</em>.
<em>Commit</em> or <em>NoCommit</em>.
#ifndef DOXYGEN_SHOULD_SKIP_INTERNAL
(The execute can also be divided into three
(The execute can also be divided into three
steps: prepare, send, and poll to get asynchronous
steps: prepare, send, and poll to get asynchronous
transactions. More about this later.)
transactions. More about this later.)
#endif
If the execute is of type NoCommit,
If the execute is of type NoCommit,
then the application program executes part of a transaction,
then the application program executes part of a transaction,
...
@@ -1229,6 +1231,7 @@ public:
...
@@ -1229,6 +1231,7 @@ public:
* @note should be called after the transaction has completed, irrespective
* @note should be called after the transaction has completed, irrespective
* of success or failure
* of success or failure
*
*
#ifndef DOXYGEN_SHOULD_SKIP_INTERNAL
* @note It is not allowed to call Ndb::closeTransaction after sending the
* @note It is not allowed to call Ndb::closeTransaction after sending the
* transaction asynchronously with either
* transaction asynchronously with either
* Ndb::sendPreparedTransactions or
* Ndb::sendPreparedTransactions or
...
@@ -1237,6 +1240,7 @@ public:
...
@@ -1237,6 +1240,7 @@ public:
* outstanding transactions and wait until all of them
* outstanding transactions and wait until all of them
* has completed before calling Ndb::closeTransaction).
* has completed before calling Ndb::closeTransaction).
* If the transaction is not committed it will be aborted.
* If the transaction is not committed it will be aborted.
#endif
*/
*/
void
closeTransaction
(
NdbTransaction
*
);
void
closeTransaction
(
NdbTransaction
*
);
...
...
ndb/include/ndbapi/NdbBlob.hpp
View file @
12e7f8ef
...
@@ -88,7 +88,9 @@ class NdbColumnImpl;
...
@@ -88,7 +88,9 @@ class NdbColumnImpl;
* - lock mode vs allowed operation is not checked
* - lock mode vs allowed operation is not checked
* - too many pending blob ops can blow up i/o buffers
* - too many pending blob ops can blow up i/o buffers
* - table and its blob part tables are not created atomically
* - table and its blob part tables are not created atomically
#ifndef DOXYGEN_SHOULD_SKIP_INTERNAL
* - there is no support for an asynchronous interface
* - there is no support for an asynchronous interface
#endif
*/
*/
class
NdbBlob
{
class
NdbBlob
{
public:
public:
...
...
ndb/include/ndbapi/NdbTransaction.hpp
View file @
12e7f8ef
...
@@ -362,6 +362,7 @@ public:
...
@@ -362,6 +362,7 @@ public:
/**
/**
* Close transaction
* Close transaction
#ifndef DOXYGEN_SHOULD_SKIP_INTERNAL
* @note It is not allowed to call NdbTransaction::close after sending the
* @note It is not allowed to call NdbTransaction::close after sending the
* transaction asynchronously before the callback method has
* transaction asynchronously before the callback method has
* been called.
* been called.
...
@@ -369,6 +370,7 @@ public:
...
@@ -369,6 +370,7 @@ public:
* outstanding transactions and wait until all of them
* outstanding transactions and wait until all of them
* has completed before calling NdbTransaction::close).
* has completed before calling NdbTransaction::close).
* If the transaction is not committed it will be aborted.
* If the transaction is not committed it will be aborted.
#endif
*/
*/
void
close
();
void
close
();
...
...
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