You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-29 08:21:15 +03:00
MCOL-4802 Removed ByteStream methods for bool manipulations and add some logging into I_S.columnstore_files
This commit is contained in:
committed by
Roman Nozdrin
parent
b9bd207d3b
commit
fb5ba84212
@ -170,14 +170,6 @@ ByteStream& ByteStream::operator<<(const uint8_t b)
|
||||
return *this;
|
||||
}
|
||||
|
||||
ByteStream& ByteStream::operator<<(const bool b)
|
||||
{
|
||||
add(b);
|
||||
|
||||
return *this;
|
||||
}
|
||||
|
||||
|
||||
ByteStream& ByteStream::operator<<(const int16_t d)
|
||||
{
|
||||
if (fBuf == 0 || (fCurInPtr - fBuf + 2U > fMaxLen + ISSOverhead))
|
||||
@ -304,14 +296,6 @@ ByteStream& ByteStream::operator>>(uint8_t& b)
|
||||
return *this;
|
||||
}
|
||||
|
||||
ByteStream& ByteStream::operator>>(bool& b)
|
||||
{
|
||||
peek(b);
|
||||
fCurOutPtr++;
|
||||
return *this;
|
||||
}
|
||||
|
||||
|
||||
ByteStream& ByteStream::operator>>(int16_t& d)
|
||||
{
|
||||
peek(d);
|
||||
@ -398,15 +382,6 @@ void ByteStream::peek(uint8_t& b) const
|
||||
b = *((int8_t*)fCurOutPtr);
|
||||
}
|
||||
|
||||
void ByteStream::peek(bool& b) const
|
||||
{
|
||||
if (length() < 1)
|
||||
throw underflow_error("ByteStream::peek(bool): not enough data in stream to fill datatype");
|
||||
|
||||
b = *((bool*)fCurOutPtr);
|
||||
}
|
||||
|
||||
|
||||
void ByteStream::peek(int16_t& d) const
|
||||
{
|
||||
if (length() < 2)
|
||||
|
Reference in New Issue
Block a user