Skip to content

Commit

Permalink
use inludes from our deps intead of system
Browse files Browse the repository at this point in the history
  • Loading branch information
mirostauder committed Oct 24, 2023
1 parent 9185c96 commit 6c15528
Show file tree
Hide file tree
Showing 139 changed files with 1,126 additions and 238 deletions.
6 changes: 3 additions & 3 deletions include/proxysql_admin.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#ifndef __CLASS_PROXYSQL_ADMIN_H
#define __CLASS_PROXYSQL_ADMIN_H

#include <prometheus/exposer.h>
#include <prometheus/counter.h>
#include <prometheus/gauge.h>
#include "prometheus/exposer.h"
#include "prometheus/counter.h"
#include "prometheus/gauge.h"

#include "query_processor.h"
#include "proxy_defines.h"
Expand Down
2 changes: 1 addition & 1 deletion include/proxysql_glovars.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#define CLUSTER_SYNC_INTERFACES_MYSQL "('mysql-interfaces')"

#include <memory>
#include <prometheus/registry.h>
#include "prometheus/registry.h"

#include "configfile.hpp"
#include "proxy_defines.h"
Expand Down
4 changes: 2 additions & 2 deletions test/tap/tests/admin-listen_on_unix-t.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
#include <string>
#include <stdio.h>

#include <mysql.h>
#include <mysql/mysqld_error.h>
#include "mysql.h"
#include "mysql/mysqld_error.h"

#include "proxysql_utils.h"
#include "tap.h"
Expand Down
4 changes: 2 additions & 2 deletions test/tap/tests/admin_show_create_table-t.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
#include <vector>
#include <tuple>

#include <mysql.h>
#include <mysql/mysqld_error.h>
#include "mysql.h"
#include "mysql/mysqld_error.h"

#include "tap.h"
#include "command_line.h"
Expand Down
4 changes: 2 additions & 2 deletions test/tap/tests/admin_show_fields_from-t.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
#include <vector>
#include <tuple>

#include <mysql.h>
#include <mysql/mysqld_error.h>
#include "mysql.h"
#include "mysql/mysqld_error.h"

#include "tap.h"
#include "command_line.h"
Expand Down
4 changes: 2 additions & 2 deletions test/tap/tests/admin_show_table_status-t.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
#include <vector>
#include <tuple>

#include <mysql.h>
#include <mysql/mysqld_error.h>
#include "mysql.h"
#include "mysql/mysqld_error.h"

#include "tap.h"
#include "command_line.h"
Expand Down
4 changes: 2 additions & 2 deletions test/tap/tests/admin_various_commands-t.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
#include <vector>
#include <tuple>

#include <mysql.h>
#include <mysql/mysqld_error.h>
#include "mysql.h"
#include "mysql/mysqld_error.h"

#include "tap.h"
#include "command_line.h"
Expand Down
4 changes: 2 additions & 2 deletions test/tap/tests/admin_various_commands2-t.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
#include <vector>
#include <tuple>

#include <mysql.h>
#include <mysql/mysqld_error.h>
#include "mysql.h"
#include "mysql/mysqld_error.h"

#include "tap.h"
#include "command_line.h"
Expand Down
4 changes: 2 additions & 2 deletions test/tap/tests/admin_various_commands3-t.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
#include <vector>
#include <tuple>

#include <mysql.h>
#include <mysql/mysqld_error.h>
#include "mysql.h"
#include "mysql/mysqld_error.h"

#include "tap.h"
#include "command_line.h"
Expand Down
2 changes: 1 addition & 1 deletion test/tap/tests/charset_unsigned_int-t.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#include <unistd.h>

#include <string>
#include <mysql.h>
#include "mysql.h"

#include "tap.h"
#include "command_line.h"
Expand Down
4 changes: 2 additions & 2 deletions test/tap/tests/firewall_commands1-t.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
#include <vector>
#include <tuple>

#include <mysql.h>
#include <mysql/mysqld_error.h>
#include "mysql.h"
#include "mysql/mysqld_error.h"

#include "tap.h"
#include "command_line.h"
Expand Down
2 changes: 1 addition & 1 deletion test/tap/tests/kill_connection-t.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include <stdio.h>
#include <cstring>
#include <unistd.h>
#include <mysql.h>
#include "mysql.h"

#include "tap.h"
#include "command_line.h"
Expand Down
2 changes: 1 addition & 1 deletion test/tap/tests/kill_connection2-t.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include <stdio.h>
#include <cstring>
#include <unistd.h>
#include <mysql.h>
#include "mysql.h"

#include "tap.h"
#include "command_line.h"
Expand Down
2 changes: 1 addition & 1 deletion test/tap/tests/kill_connection3-t.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include <stdio.h>
#include <cstring>
#include <unistd.h>
#include <mysql.h>
#include "mysql.h"

#include "tap.h"
#include "command_line.h"
Expand Down
4 changes: 2 additions & 2 deletions test/tap/tests/max_connections_ff-t.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
#include <vector>
#include <unistd.h>

#include <mysql.h>
#include <mysql/mysqld_error.h>
#include "mysql.h"
#include "mysql/mysqld_error.h"

#include "json.hpp"

Expand Down
4 changes: 2 additions & 2 deletions test/tap/tests/multiple_prepared_statements-t.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ It stresses how proxysql managers prepared statements, specifically:
#include <tuple>
#include <unistd.h>

#include <mysql.h>
#include <mysql/mysqld_error.h>
#include "mysql.h"
#include "mysql/mysqld_error.h"

#include "command_line.h"
#include "proxysql_utils.h"
Expand Down
2 changes: 1 addition & 1 deletion test/tap/tests/mysql-fast_forward-t.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include <stdio.h>
#include <cstring>
#include <unistd.h>
#include <mysql.h>
#include "mysql.h"

#include "tap.h"
#include "command_line.h"
Expand Down
2 changes: 1 addition & 1 deletion test/tap/tests/mysql-init_connect-1-t.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

#include <string>
#include <sstream>
#include <mysql.h>
#include "mysql.h"

#include "tap.h"
#include "command_line.h"
Expand Down
2 changes: 1 addition & 1 deletion test/tap/tests/mysql-init_connect-2-t.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

#include <string>
#include <sstream>
#include <mysql.h>
#include "mysql.h"

#include "tap.h"
#include "command_line.h"
Expand Down
2 changes: 1 addition & 1 deletion test/tap/tests/mysql-last_insert_id-t.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

#include <string>
#include <sstream>
#include <mysql.h>
#include "mysql.h"

#include "tap.h"
#include "command_line.h"
Expand Down
2 changes: 1 addition & 1 deletion test/tap/tests/mysql-mirror1-t.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include <stdio.h>
#include <cstring>
#include <unistd.h>
#include <mysql.h>
#include "mysql.h"

#include "tap.h"
#include "command_line.h"
Expand Down
2 changes: 1 addition & 1 deletion test/tap/tests/mysql-set_transaction-t.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

#include <string>
#include <sstream>
#include <mysql.h>
#include "mysql.h"

#include "tap.h"
#include "command_line.h"
Expand Down
2 changes: 1 addition & 1 deletion test/tap/tests/mysql-sql_log_bin-error-t.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

#include <string>
#include <sstream>
#include <mysql.h>
#include "mysql.h"

#include "tap.h"
#include "command_line.h"
Expand Down
2 changes: 1 addition & 1 deletion test/tap/tests/mysql-test_ssl_CA-t.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

#include <string>
#include <sstream>
#include <mysql.h>
#include "mysql.h"
#include <dirent.h>

#include "tap.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
#include <fstream>
#include <unistd.h>

#include <mysql.h>
#include <mysql/mysqld_error.h>
#include "mysql.h"
#include "mysql/mysqld_error.h"

#include "json.hpp"

Expand Down
2 changes: 1 addition & 1 deletion test/tap/tests/mysql_stmt_send_long_data-t.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include <stdio.h>
#include <cstring>
#include <unistd.h>
#include <mysql.h>
#include "mysql.h"

#include "tap.h"
#include "command_line.h"
Expand Down
2 changes: 1 addition & 1 deletion test/tap/tests/mysql_stmt_send_long_data_large-t.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include <stdio.h>
#include <cstring>
#include <unistd.h>
#include <mysql.h>
#include "mysql.h"

#include "tap.h"
#include "command_line.h"
Expand Down
2 changes: 1 addition & 1 deletion test/tap/tests/prepare_statement_err3024-t.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#include <stdio.h>
#include <unistd.h>
#include <vector>
#include <mysql.h>
#include "mysql.h"

#include "tap.h"
#include "command_line.h"
Expand Down
4 changes: 2 additions & 2 deletions test/tap/tests/reg_test_1493-mixed_compression-t.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
#include <string>
#include <stdio.h>

#include <mysql.h>
#include <mysql/mysqld_error.h>
#include "mysql.h"
#include "mysql/mysqld_error.h"

#include "tap.h"
#include "command_line.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#include <cstring>
#include <unistd.h>

#include <mysql.h>
#include "mysql.h"

#include "tap.h"
#include "command_line.h"
Expand Down
2 changes: 1 addition & 1 deletion test/tap/tests/reg_test_1574-stmt_metadata-t.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#include <time.h>
#include <iostream>

#include <mysql.h>
#include "mysql.h"

#include "tap.h"
#include "command_line.h"
Expand Down
4 changes: 2 additions & 2 deletions test/tap/tests/reg_test_2793-compression-t.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
#include <vector>
#include <string>
#include <stdio.h>
#include <mysql.h>
#include <mysql/mysqld_error.h>
#include "mysql.h"
#include "mysql/mysqld_error.h"

#include "tap.h"
#include "command_line.h"
Expand Down
2 changes: 1 addition & 1 deletion test/tap/tests/reg_test_3184-set_wait_timeout-t.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#include <vector>
#include <string>
#include <stdio.h>
#include <mysql.h>
#include "mysql.h"

#include "tap.h"
#include "command_line.h"
Expand Down
4 changes: 2 additions & 2 deletions test/tap/tests/reg_test_3247-mycli_support-t.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
#include <string>
#include <sstream>
#include <stdio.h>
#include <mysql.h>
#include <mysql/mysqld_error.h>
#include "mysql.h"
#include "mysql/mysqld_error.h"

#include "tap.h"
#include "command_line.h"
Expand Down
2 changes: 1 addition & 1 deletion test/tap/tests/reg_test_3273_ssl_con-t.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
#include <poll.h>
#include <sys/epoll.h>

#include <mysql.h>
#include "mysql.h"
#include <thread>

#include "tap.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#include <stdio.h>
#include <functional>

#include <mysql.h>
#include "mysql.h"

#include "tap.h"
#include "command_line.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include <vector>
#include <string>
#include <stdio.h>
#include <mysql.h>
#include "mysql.h"

#include "tap.h"
#include "command_line.h"
Expand Down

This file was deleted.

Loading

0 comments on commit 6c15528

Please sign in to comment.