mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Bug#5429
Use const table * in NDB API ndb/include/ndbapi/Ndb.hpp: Removed useFullyQualifiedNames(bool) Changed so that auto increment methods takes const pointer ndb/include/ndbapi/NdbBlob.hpp: Changed to const table pointer ndb/include/ndbapi/NdbConnection.hpp: Changed to const table pointer ndb/include/ndbapi/NdbIndexOperation.hpp: Changed to const table pointer ndb/include/ndbapi/NdbOperation.hpp: Changed to const table pointer ndb/include/ndbapi/NdbScanOperation.hpp: Changed to const table pointer ndb/src/kernel/blocks/backup/restore/Restore.cpp: Corrected size & array size in case of blob usage ndb/src/kernel/blocks/backup/restore/consumer_restore.cpp: Removed use fully qualified name Handle blob tables ndb/src/kernel/blocks/backup/restore/consumer_restore.hpp: Introduced mapping between old/new table (wrt ids) ndb/src/kernel/blocks/backup/restore/main.cpp: removed extra Uint32 ndb/src/ndbapi/Ndb.cpp: Changed to const table pointer ndb/src/ndbapi/NdbConnection.cpp: Changed to const table pointer ndb/src/ndbapi/NdbIndexOperation.cpp: Changed to const table pointer ndb/src/ndbapi/NdbOperation.cpp: Changed to const table pointer ndb/src/ndbapi/NdbScanOperation.cpp: Changed to const table pointer sql/ha_ndbcluster.cc: Changed to const table pointer
This commit is contained in:
@ -709,7 +709,7 @@ protected:
|
||||
//--------------------------------------------------------------
|
||||
// Initialise after allocating operation to a transaction
|
||||
//--------------------------------------------------------------
|
||||
int init(class NdbTableImpl*, NdbConnection* aCon);
|
||||
int init(const class NdbTableImpl*, NdbConnection* aCon);
|
||||
void initInterpreter();
|
||||
|
||||
void next(NdbOperation*); // Set next pointer
|
||||
@ -858,8 +858,8 @@ protected:
|
||||
Uint32* theKEYINFOptr; // Pointer to where to write KEYINFO
|
||||
Uint32* theATTRINFOptr; // Pointer to where to write ATTRINFO
|
||||
|
||||
class NdbTableImpl* m_currentTable; // The current table
|
||||
class NdbTableImpl* m_accessTable;
|
||||
const class NdbTableImpl* m_currentTable; // The current table
|
||||
const class NdbTableImpl* m_accessTable;
|
||||
|
||||
// Set to TRUE when a tuple key attribute has been defined.
|
||||
Uint32 theTupleKeyDefined[NDB_MAX_NO_OF_ATTRIBUTES_IN_KEY][3];
|
||||
|
Reference in New Issue
Block a user