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
6fd6e7c8
Commit
6fd6e7c8
authored
Oct 11, 2007
by
mtaylor@solace.(none)
Browse files
Options
Browse Files
Download
Plain Diff
Merge bk-internal.mysql.com:/home/bk/mysql-5.1-new-ndb
into solace.(none):/home/mtaylor/src/mysql/mysql-5.1-new-ndb
parents
261c77a0
f178f725
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
23 additions
and
1 deletion
+23
-1
storage/ndb/include/ndbapi/NdbOperation.hpp
storage/ndb/include/ndbapi/NdbOperation.hpp
+3
-0
storage/ndb/include/ndbapi/NdbPool.hpp
storage/ndb/include/ndbapi/NdbPool.hpp
+2
-1
storage/ndb/include/ndbapi/NdbScanFilter.hpp
storage/ndb/include/ndbapi/NdbScanFilter.hpp
+1
-0
storage/ndb/include/ndbapi/NdbTransaction.hpp
storage/ndb/include/ndbapi/NdbTransaction.hpp
+7
-0
storage/ndb/src/ndbapi/NdbOperation.cpp
storage/ndb/src/ndbapi/NdbOperation.cpp
+6
-0
storage/ndb/src/ndbapi/NdbScanFilter.cpp
storage/ndb/src/ndbapi/NdbScanFilter.cpp
+4
-0
No files found.
storage/ndb/include/ndbapi/NdbOperation.hpp
View file @
6fd6e7c8
...
@@ -842,6 +842,9 @@ protected:
...
@@ -842,6 +842,9 @@ protected:
virtual
~
NdbOperation
();
virtual
~
NdbOperation
();
void
next
(
NdbOperation
*
);
// Set next pointer
void
next
(
NdbOperation
*
);
// Set next pointer
NdbOperation
*
next
();
// Get next pointer
NdbOperation
*
next
();
// Get next pointer
NdbTransation
*
getNdbTransaction
();
public:
public:
#ifndef DOXYGEN_SHOULD_SKIP_INTERNAL
#ifndef DOXYGEN_SHOULD_SKIP_INTERNAL
const
NdbOperation
*
next
()
const
;
const
NdbOperation
*
next
()
const
;
...
...
storage/ndb/include/ndbapi/NdbPool.hpp
View file @
6fd6e7c8
...
@@ -17,7 +17,8 @@ class Ndb;
...
@@ -17,7 +17,8 @@ class Ndb;
class
NdbPool
;
class
NdbPool
;
bool
bool
create_instance
(
Uint32
max_ndb_objects
,
create_instance
(
Ndb_cluster_connection
*
cc
,
Uint32
max_ndb_objects
,
Uint32
no_conn_obj
,
Uint32
no_conn_obj
,
Uint32
init_no_ndb_objects
);
Uint32
init_no_ndb_objects
);
...
...
storage/ndb/include/ndbapi/NdbScanFilter.hpp
View file @
6fd6e7c8
...
@@ -191,6 +191,7 @@ public:
...
@@ -191,6 +191,7 @@ public:
*/
*/
const
class
NdbError
&
getNdbError
()
const
;
const
class
NdbError
&
getNdbError
()
const
;
NdbOperation
*
getNdbOperation
();
private:
private:
#ifndef DOXYGEN_SHOULD_SKIP_INTERNAL
#ifndef DOXYGEN_SHOULD_SKIP_INTERNAL
friend
class
NdbScanFilterImpl
;
friend
class
NdbScanFilterImpl
;
...
...
storage/ndb/include/ndbapi/NdbTransaction.hpp
View file @
6fd6e7c8
...
@@ -170,6 +170,13 @@ public:
...
@@ -170,6 +170,13 @@ public:
#endif
#endif
};
};
/**
* Convenience method to fetch this transactions Ndb* object
*/
Ndb
*
getNdb
()
{
return
theNdb
;
}
#ifndef DOXYGEN_SHOULD_SKIP_DEPRECATED
#ifndef DOXYGEN_SHOULD_SKIP_DEPRECATED
/**
/**
* Get an NdbOperation for a table.
* Get an NdbOperation for a table.
...
...
storage/ndb/src/ndbapi/NdbOperation.cpp
View file @
6fd6e7c8
...
@@ -429,3 +429,9 @@ NdbOperation::getTable() const
...
@@ -429,3 +429,9 @@ NdbOperation::getTable() const
{
{
return
m_currentTable
;
return
m_currentTable
;
}
}
NdbTransaction
*
NdbOperation
::
getNdbTransaction
()
{
return
theNdbCon
;
}
storage/ndb/src/ndbapi/NdbScanFilter.cpp
View file @
6fd6e7c8
...
@@ -348,6 +348,10 @@ NdbScanFilter::isfalse(){
...
@@ -348,6 +348,10 @@ NdbScanFilter::isfalse(){
return
0
;
return
0
;
}
}
NdbOperation
*
NdbScanFilter
::
getNdbOperation
(){
return
m_impl
.
m_operation
;
}
#define action(x, y, z)
#define action(x, y, z)
...
...
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