Removed any reference to MySQL_Session::pause

the variable wasn't in used from long time
SQLiteServer
René Cannaò 10 years ago
parent 97b3f3dca4
commit dd3b7e5a82

@ -100,7 +100,6 @@ class MySQL_Session
int pending_connect;
Query_Info CurrentQuery;
//void *query_parser_args;
unsigned long long pause;
unsigned long long pause_until;
//MySQL_Session_userinfo userinfo_client;
//MySQL_Session_userinfo userinfo_server;

@ -160,7 +160,6 @@ void MySQL_Session::operator delete(void *ptr) {
MySQL_Session::MySQL_Session() {
thread_session_id=0;
pause=0;
pause_until=0;
qpo=NULL;
command_counters=new StatCounters(15,10,false);

@ -1698,8 +1698,7 @@ void MySQL_Thread::process_all_sessions() {
n--;
delete sess;
} else {
if (sess->to_process==1 || sess->pause<=curtime ) {
if (sess->pause <= curtime ) sess->pause=0;
if (sess->to_process==1) {
if (sess->pause_until <= curtime) {
rc=sess->handler();
if (rc==-1 || sess->killed==true) {

Loading…
Cancel
Save