Manual merge from mysql-trunk-merge.
Conflicts: - storage/archive/ha_archive.cc
This commit is contained in:
commit
a2259d8487
@ -1555,7 +1555,7 @@ int ha_archive::info(uint flag)
|
|||||||
stats.data_file_length= file_stat.st_size;
|
stats.data_file_length= file_stat.st_size;
|
||||||
stats.index_file_length=0;
|
stats.index_file_length=0;
|
||||||
stats.mean_rec_length= stats.records ?
|
stats.mean_rec_length= stats.records ?
|
||||||
stats.data_file_length / stats.records : table->s->reclength;
|
ulong(stats.data_file_length / stats.records) : table->s->reclength;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -178,22 +178,22 @@ public:
|
|||||||
/**
|
/**
|
||||||
* Check if table name has changed, for event TE_ALTER
|
* 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
|
* 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
|
* 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
|
* 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
|
* Retrieve the GCI of the latest retrieved event
|
||||||
|
@ -779,7 +779,7 @@ public:
|
|||||||
/**
|
/**
|
||||||
* Get the type of access for this operation
|
* 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.
|
Remark: Gets type of access.
|
||||||
******************************************************************************/
|
******************************************************************************/
|
||||||
inline
|
inline
|
||||||
const NdbOperation::Type
|
NdbOperation::Type
|
||||||
NdbOperation::getType() const
|
NdbOperation::getType() const
|
||||||
{
|
{
|
||||||
return m_type;
|
return m_type;
|
||||||
|
@ -96,22 +96,22 @@ NdbEventOperation::hasError() const
|
|||||||
return m_impl.m_has_error;
|
return m_impl.m_has_error;
|
||||||
}
|
}
|
||||||
|
|
||||||
const bool NdbEventOperation::tableNameChanged() const
|
bool NdbEventOperation::tableNameChanged() const
|
||||||
{
|
{
|
||||||
return m_impl.tableNameChanged();
|
return m_impl.tableNameChanged();
|
||||||
}
|
}
|
||||||
|
|
||||||
const bool NdbEventOperation::tableFrmChanged() const
|
bool NdbEventOperation::tableFrmChanged() const
|
||||||
{
|
{
|
||||||
return m_impl.tableFrmChanged();
|
return m_impl.tableFrmChanged();
|
||||||
}
|
}
|
||||||
|
|
||||||
const bool NdbEventOperation::tableFragmentationChanged() const
|
bool NdbEventOperation::tableFragmentationChanged() const
|
||||||
{
|
{
|
||||||
return m_impl.tableFragmentationChanged();
|
return m_impl.tableFragmentationChanged();
|
||||||
}
|
}
|
||||||
|
|
||||||
const bool NdbEventOperation::tableRangeListChanged() const
|
bool NdbEventOperation::tableRangeListChanged() const
|
||||||
{
|
{
|
||||||
return m_impl.tableRangeListChanged();
|
return m_impl.tableRangeListChanged();
|
||||||
}
|
}
|
||||||
|
@ -658,22 +658,22 @@ NdbEventOperationImpl::stop()
|
|||||||
DBUG_RETURN(r);
|
DBUG_RETURN(r);
|
||||||
}
|
}
|
||||||
|
|
||||||
const bool NdbEventOperationImpl::tableNameChanged() const
|
bool NdbEventOperationImpl::tableNameChanged() const
|
||||||
{
|
{
|
||||||
return (bool)AlterTableReq::getNameFlag(m_change_mask);
|
return (bool)AlterTableReq::getNameFlag(m_change_mask);
|
||||||
}
|
}
|
||||||
|
|
||||||
const bool NdbEventOperationImpl::tableFrmChanged() const
|
bool NdbEventOperationImpl::tableFrmChanged() const
|
||||||
{
|
{
|
||||||
return (bool)AlterTableReq::getFrmFlag(m_change_mask);
|
return (bool)AlterTableReq::getFrmFlag(m_change_mask);
|
||||||
}
|
}
|
||||||
|
|
||||||
const bool NdbEventOperationImpl::tableFragmentationChanged() const
|
bool NdbEventOperationImpl::tableFragmentationChanged() const
|
||||||
{
|
{
|
||||||
return (bool)AlterTableReq::getFragDataFlag(m_change_mask);
|
return (bool)AlterTableReq::getFragDataFlag(m_change_mask);
|
||||||
}
|
}
|
||||||
|
|
||||||
const bool NdbEventOperationImpl::tableRangeListChanged() const
|
bool NdbEventOperationImpl::tableRangeListChanged() const
|
||||||
{
|
{
|
||||||
return (bool)AlterTableReq::getRangeListFlag(m_change_mask);
|
return (bool)AlterTableReq::getRangeListFlag(m_change_mask);
|
||||||
}
|
}
|
||||||
|
@ -361,10 +361,10 @@ public:
|
|||||||
NdbBlob *getBlobHandle(const NdbColumnImpl *, int n);
|
NdbBlob *getBlobHandle(const NdbColumnImpl *, int n);
|
||||||
int readBlobParts(char* buf, NdbBlob* blob, Uint32 part, Uint32 count);
|
int readBlobParts(char* buf, NdbBlob* blob, Uint32 part, Uint32 count);
|
||||||
int receive_event();
|
int receive_event();
|
||||||
const bool tableNameChanged() const;
|
bool tableNameChanged() const;
|
||||||
const bool tableFrmChanged() const;
|
bool tableFrmChanged() const;
|
||||||
const bool tableFragmentationChanged() const;
|
bool tableFragmentationChanged() const;
|
||||||
const bool tableRangeListChanged() const;
|
bool tableRangeListChanged() const;
|
||||||
Uint64 getGCI();
|
Uint64 getGCI();
|
||||||
Uint32 getAnyValue() const;
|
Uint32 getAnyValue() const;
|
||||||
Uint64 getLatestGCI();
|
Uint64 getLatestGCI();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user