mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Merge bk-internal:/home/bk/mysql-5.1-new-ndb
into ymer.(none):/usr/local/mysql/mysql-5.1-ndb-pbsu storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp: Auto merged storage/ndb/src/kernel/blocks/dbdih/DbdihMain.cpp: Auto merged storage/ndb/src/ndbapi/NdbDictionaryImpl.cpp: Auto merged
This commit is contained in:
@ -136,7 +136,7 @@ public:
|
||||
*/
|
||||
enum Store {
|
||||
StoreUndefined = 0, ///< Undefined
|
||||
StoreTemporary = 1, ///< Object or data deleted on system restart
|
||||
StoreNotLogged = 1, ///< Object or data deleted on system restart
|
||||
StorePermanent = 2 ///< Permanent. logged to disk
|
||||
};
|
||||
|
||||
@ -917,6 +917,9 @@ public:
|
||||
int createTableInDb(Ndb*, bool existingEqualIsOk = true) const ;
|
||||
|
||||
int getReplicaCount() const ;
|
||||
|
||||
bool getTemporary();
|
||||
void setTemporary(bool);
|
||||
#endif
|
||||
|
||||
private:
|
||||
@ -1104,6 +1107,9 @@ public:
|
||||
#ifndef DOXYGEN_SHOULD_SKIP_DEPRECATED
|
||||
void setStoredIndex(bool x) { setLogging(x); }
|
||||
bool getStoredIndex() const { return getLogging(); }
|
||||
|
||||
bool getTemporary();
|
||||
void setTemporary(bool);
|
||||
#endif
|
||||
|
||||
/** @} *******************************************************************/
|
||||
@ -1564,7 +1570,8 @@ public:
|
||||
unsigned id; ///< Id of object
|
||||
Object::Type type; ///< Type of object
|
||||
Object::State state; ///< State of object
|
||||
Object::Store store; ///< How object is stored
|
||||
Object::Store store; ///< How object is logged
|
||||
Uint32 temp; ///< Temporary status of object
|
||||
char * database; ///< In what database the object resides
|
||||
char * schema; ///< What schema the object is defined in
|
||||
char * name; ///< Name of object
|
||||
@ -1573,6 +1580,7 @@ public:
|
||||
type(Object::TypeUndefined),
|
||||
state(Object::StateUndefined),
|
||||
store(Object::StoreUndefined),
|
||||
temp(NDB_TEMP_TAB_PERMANENT),
|
||||
database(0),
|
||||
schema(0),
|
||||
name(0) {
|
||||
|
Reference in New Issue
Block a user