MySQL 8.0.39
Source Code Documentation
binlog_ostream.h File Reference
#include <openssl/evp.h>
#include "sql/basic_ostream.h"
#include "sql/rpl_log_encryption.h"

Go to the source code of this file.

Classes

class  IO_CACHE_binlog_cache_storage
 A binlog cache implementation based on IO_CACHE. More...
 
class  Binlog_cache_storage
 Byte container that provides a storage for serializing session binlog events. More...
 
class  Binlog_encryption_ostream
 It is an Truncatable_ostream which provides encryption feature. More...
 

Functions

template<class ISTREAM , class OSTREAM >
bool stream_copy (ISTREAM *istream, OSTREAM *ostream, bool *ostream_error=nullptr)
 Copy data from an input stream to an output stream. More...
 

Variables

bool binlog_cache_is_reset
 

Function Documentation

◆ stream_copy()

template<class ISTREAM , class OSTREAM >
bool stream_copy ( ISTREAM *  istream,
OSTREAM *  ostream,
bool *  ostream_error = nullptr 
)

Copy data from an input stream to an output stream.

Parameters
[in]istreamthe input stream where data will be copied from
[out]ostreamthe output stream where data will be copied into
[out]ostream_errorIt will be set to true if an error happens on ostream and the pointer is not null. It is valid only when the function returns true.
Return values
falseSuccess
trueError happens in either the istream or ostream.

Variable Documentation

◆ binlog_cache_is_reset

bool binlog_cache_is_reset
extern