Skip to content

Commit

Permalink
Fixed galera build compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
rahim-kanji committed Oct 10, 2024
1 parent 6c70995 commit c288532
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 1 addition & 2 deletions test/tap/tap/SQLite3_Server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ static bool testTimeoutSequence[] = {true, false, true, false, true, false, true
static int testIndex = 7;
static int testLag = 10;

extern Query_Cache *GloQC;
extern MySQL_Authentication *GloMyAuth;
extern ProxySQL_Admin *GloAdmin;
extern MySQL_Query_Processor* GloQPro;
Expand Down Expand Up @@ -256,7 +255,7 @@ static void *child_mysql(void *arg) {

GloQPro->init_thread();
mysql_thr->refresh_variables();
MySQL_Session *sess=mysql_thr->create_new_session_and_client_data_stream(client);
MySQL_Session *sess=mysql_thr->create_new_session_and_client_data_stream<MySQL_Thread, MySQL_Session*>(client);
sess->thread=mysql_thr;
sess->session_type = PROXYSQL_SESSION_SQLITE;
sess->handler_function=SQLite3_Server_session_handler;
Expand Down
2 changes: 0 additions & 2 deletions test/tap/tests/galera_2_timeout_no_count.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,8 @@
#define READ_ONLY_ON "\x01\x00\x00\x01\x02\x23\x00\x00\x02\x03\x64\x65\x66\x00\x00\x00\x0d\x56\x61\x72\x69\x61\x62\x6c\x65\x5f\x6e\x61\x6d\x65\x00\x0c\x21\x00\x0f\x00\x00\x00\xfd\x01\x00\x1f\x00\x00\x1b\x00\x00\x03\x03\x64\x65\x66\x00\x00\x00\x05\x56\x61\x6c\x75\x65\x00\x0c\x21\x00\x0f\x00\x00\x00\xfd\x01\x00\x1f\x00\x00\x05\x00\x00\x04\xfe\x00\x00\x02\x00\x0d\x00\x00\x05\x09\x72\x65\x61\x64\x5f\x6f\x6e\x6c\x79\x02\x4f\x4e\x05\x00\x00\x06\xfe\x00\x00\x02\x00"

extern SQLite3_Server *GloSQLite3Server;
extern Query_Cache *GloQC;
extern MySQL_Authentication *GloMyAuth;
extern ProxySQL_Admin *GloAdmin;
extern Query_Processor *GloQPro;
extern MySQL_Threads_Handler *GloMTH;
extern MySQL_Logger *GloMyLogger;
extern MySQL_Monitor *GloMyMon;
Expand Down

0 comments on commit c288532

Please sign in to comment.