Merge pull request #1958 from carsonip/fix-typo

Fix minor typos
pull/1961/head
René Cannaò 7 years ago committed by GitHub
commit 0f923ba3fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -175,7 +175,7 @@ class MySQL_Session
bool schema_locked;
bool transaction_persistent;
bool session_fast_forward;
bool started_sending_data_to_client; // this status variable tracks if some result set was sent to the client, of if proysql is still buffering everything
bool started_sending_data_to_client; // this status variable tracks if some result set was sent to the client, or if proxysql is still buffering everything
bool use_ssl;
bool with_gtid;

@ -11,7 +11,7 @@ ClickHouse_Authentication::ClickHouse_Authentication() {
#else
if (glovars.has_debug==true) {
#endif /* DEBUG */
perror("Incompatible debagging version");
perror("Incompatible debugging version");
exit(EXIT_FAILURE);
}
#ifdef PROXYSQL_AUTH_PTHREAD_MUTEX

@ -1427,7 +1427,7 @@ ClickHouse_Server::ClickHouse_Server() {
#else
if (glovars.has_debug==true) {
#endif /* DEBUG */
perror("Incompatible debagging version");
perror("Incompatible debugging version");
exit(EXIT_FAILURE);
}

@ -10,7 +10,7 @@ MySQL_Authentication::MySQL_Authentication() {
#else
if (glovars.has_debug==true) {
#endif /* DEBUG */
perror("Incompatible debagging version");
perror("Incompatible debugging version");
exit(EXIT_FAILURE);
}
#ifdef PROXYSQL_AUTH_PTHREAD_MUTEX

@ -655,7 +655,7 @@ bool MySQL_Session::handler_SetAutocommit(PtrSize_t *pkt) {
}
}
if (fd >= 0) { // we can set autocommit
// we immeditately process the number of transactions
// we immediately process the number of transactions
unsigned int nTrx=NumActiveTransactions();
if (fd==1 && autocommit==true) {
// nothing to do, return OK
@ -2966,7 +2966,7 @@ handler_again:
CurrentQuery.mysql_stmt=myconn->local_stmts->find_backend_stmt_by_global_id(CurrentQuery.stmt_global_id);
if (CurrentQuery.mysql_stmt==NULL) {
MySQL_STMT_Global_info *stmt_info=NULL;
// the conection we too doesn't have the prepared statements prepared
// the connection we too doesn't have the prepared statements prepared
// we try to create it now
stmt_info=GloMyStmt->find_prepared_statement_by_stmt_id(CurrentQuery.stmt_global_id);
CurrentQuery.QueryLength=stmt_info->query_length;

@ -334,7 +334,7 @@ MySQL_Threads_Handler::MySQL_Threads_Handler() {
#else
if (glovars.has_debug==true) {
#endif /* DEBUG */
perror("Incompatible debagging version");
perror("Incompatible debugging version");
exit(EXIT_FAILURE);
}
num_threads=0;
@ -461,7 +461,7 @@ MySQL_Threads_Handler::MySQL_Threads_Handler() {
#ifdef DEBUG
variables.session_debug=true;
#endif /*debug */
// status varuables
// status variables
status_variables.mirror_sessions_current=0;
__global_MySQL_Thread_Variables_version=1;
MLM = new MySQL_Listeners_Manager();
@ -3255,7 +3255,7 @@ __run_skip_1a:
proxy_error("Error during read from signal_all_threads()\n");
}
proxy_debug(PROXY_DEBUG_GENERIC,3, "Got signal from admin , done nothing\n");
//fprintf(stderr,"Got signal from admin , done nothing\n"); // FIXME: this is just the scheleton for issue #253
//fprintf(stderr,"Got signal from admin , done nothing\n"); // FIXME: this is just the skeleton for issue #253
if (c) {
// we are being signaled to sleep for some ms. Before going to sleep we also release the mutex
pthread_mutex_unlock(&thread_mutex);

@ -3601,7 +3601,7 @@ ProxySQL_Admin::ProxySQL_Admin() {
#else
if (glovars.has_debug==true) {
#endif /* DEBUG */
perror("Incompatible debagging version");
perror("Incompatible debugging version");
exit(EXIT_FAILURE);
}

@ -317,7 +317,7 @@ Query_Cache::Query_Cache() {
#else
if (glovars.has_debug==true) {
#endif /* DEBUG */
perror("Incompatible debagging version");
perror("Incompatible debugging version");
exit(EXIT_FAILURE);
}
for (int i=0; i<SHARED_QUERY_CACHE_HASH_TABLES; i++) {

@ -367,7 +367,7 @@ Query_Processor::Query_Processor() {
#else
if (glovars.has_debug==true) {
#endif /* DEBUG */
perror("Incompatible debagging version");
perror("Incompatible debugging version");
exit(EXIT_FAILURE);
}
proxy_debug(PROXY_DEBUG_MYSQL_QUERY_PROCESSOR, 4, "Initializing Query Processor with version=0\n");

@ -652,7 +652,7 @@ SQLite3_Server::SQLite3_Server() {
#else
if (glovars.has_debug==true) {
#endif /* DEBUG */
perror("Incompatible debagging version");
perror("Incompatible debugging version");
exit(EXIT_FAILURE);
}

Loading…
Cancel
Save