summaryrefslogtreecommitdiff
path: root/storage/ndb/include
diff options
context:
space:
mode:
authorDavi Arnaut <Davi.Arnaut@Sun.COM>2010-01-20 22:21:18 -0200
committerDavi Arnaut <Davi.Arnaut@Sun.COM>2010-01-20 22:21:18 -0200
commit45d2799a15a2bdde386b113cd6fcab915d4984d2 (patch)
tree6589b65cc4cf4ef04a80921a4104238f9b8cb7a9 /storage/ndb/include
parent985c06d0a9bd230cbab2e3cbfb7fbf744ea7ee3e (diff)
downloadmariadb-git-45d2799a15a2bdde386b113cd6fcab915d4984d2.tar.gz
Apply patch on behalf of the NDB team:
3321 Magnus BlÄudd 2010-01-05 BUG#44840 - ndbapi compiler warning - type qualifier ignored for function return type - Remove the "const" - NOTE! This is an ABI incompatible change for some C++ compilers, NdbApi applications using any of the four changed functions may need a recompile if it's using dynamic linking.
Diffstat (limited to 'storage/ndb/include')
-rw-r--r--storage/ndb/include/ndbapi/NdbEventOperation.hpp8
-rw-r--r--storage/ndb/include/ndbapi/NdbOperation.hpp4
2 files changed, 6 insertions, 6 deletions
diff --git a/storage/ndb/include/ndbapi/NdbEventOperation.hpp b/storage/ndb/include/ndbapi/NdbEventOperation.hpp
index 437088d2893..0f98a4debef 100644
--- a/storage/ndb/include/ndbapi/NdbEventOperation.hpp
+++ b/storage/ndb/include/ndbapi/NdbEventOperation.hpp
@@ -178,22 +178,22 @@ public:
/**
* Check if table name has changed, for event TE_ALTER
*/
- const bool tableNameChanged() const;
+ bool tableNameChanged() const;
/**
* Check if table frm has changed, for event TE_ALTER
*/
- const bool tableFrmChanged() const;
+ bool tableFrmChanged() const;
/**
* Check if table fragmentation has changed, for event TE_ALTER
*/
- const bool tableFragmentationChanged() const;
+ bool tableFragmentationChanged() const;
/**
* Check if table range partition list name has changed, for event TE_ALTER
*/
- const bool tableRangeListChanged() const;
+ bool tableRangeListChanged() const;
/**
* Retrieve the GCI of the latest retrieved event
diff --git a/storage/ndb/include/ndbapi/NdbOperation.hpp b/storage/ndb/include/ndbapi/NdbOperation.hpp
index 78dbadfd7ab..713c29f028d 100644
--- a/storage/ndb/include/ndbapi/NdbOperation.hpp
+++ b/storage/ndb/include/ndbapi/NdbOperation.hpp
@@ -779,7 +779,7 @@ public:
/**
* Get the type of access for this operation
*/
- const Type getType() const;
+ Type getType() const;
/** @} *********************************************************************/
@@ -1135,7 +1135,7 @@ Return Value Return the Type.
Remark: Gets type of access.
******************************************************************************/
inline
-const NdbOperation::Type
+NdbOperation::Type
NdbOperation::getType() const
{
return m_type;