Fixed missing return in process_pollq and added mysql.h to get rid of
warning about mysql_thread calls
This commit is contained in:
@ -30,6 +30,7 @@
|
|||||||
#include <gw.h>
|
#include <gw.h>
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
#include <housekeeper.h>
|
#include <housekeeper.h>
|
||||||
|
#include <mysql.h>
|
||||||
|
|
||||||
#define PROFILE_POLL 1
|
#define PROFILE_POLL 1
|
||||||
|
|
||||||
@ -854,6 +855,8 @@ uint32_t ev;
|
|||||||
}
|
}
|
||||||
dcb->evq.processing = 0;
|
dcb->evq.processing = 0;
|
||||||
spinlock_release(&pollqlock);
|
spinlock_release(&pollqlock);
|
||||||
|
|
||||||
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user