MCPcopy Create free account
hub / github.com/MariaDB/server / start_decryption

Method start_decryption

sql/log_event.cc:2373–2382  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2371}
2372
2373bool Format_description_log_event::start_decryption(Start_encryption_log_event* sele)
2374{
2375 DBUG_ASSERT(crypto_data.scheme == 0);
2376
2377 if (!sele->is_valid())
2378 return 1;
2379
2380 memcpy(crypto_data.nonce, sele->nonce, BINLOG_NONCE_LENGTH);
2381 return crypto_data.init(sele->crypto_scheme, sele->key_version);
2382}
2383
2384
2385Version::Version(const char *version, const char **endptr)

Callers 9

process_eventFunction · 0.80
recoverMethod · 0.80
get_gtid_list_eventFunction · 0.80
gtid_state_from_posFunction · 0.80
mysql_show_binlog_eventsFunction · 0.80
retry_event_groupFunction · 0.80
do_apply_eventMethod · 0.80

Calls 2

is_validMethod · 0.45
initMethod · 0.45

Tested by

no test coverage detected