Skip to content

Commit

Permalink
Fixed compilation error for all TEST* configurations
Browse files Browse the repository at this point in the history
  • Loading branch information
rahim-kanji committed Sep 26, 2024
1 parent 4e61120 commit f99e806
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/MySQL_Protocol.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1173,6 +1173,7 @@ bool MySQL_Protocol::generate_pkt_initial_handshake(bool send, void **ptr, unsig
return true;
}

#ifdef PROXYSQLCLICKHOUSE
void ch_account_to_my(account_details_t& account, ch_account_details_t& ch_account) {
account.username = ch_account.username;
account.password = ch_account.password;
Expand All @@ -1196,6 +1197,7 @@ void ch_account_to_my(account_details_t& account, ch_account_details_t& ch_accou
account.attributes = nullptr; // No attributes by default
account.comment = nullptr; // No comment by default
}
#endif /* PROXYSQLCLICKHOUSE */

bool MySQL_Protocol::process_pkt_auth_swich_response(unsigned char *pkt, unsigned int len) {
bool ret=false;
Expand Down

0 comments on commit f99e806

Please sign in to comment.