diff options
Diffstat (limited to 'src/base/stats/mysql.hh')
-rw-r--r-- | src/base/stats/mysql.hh | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/src/base/stats/mysql.hh b/src/base/stats/mysql.hh index 45fda2982..687f030f2 100644 --- a/src/base/stats/mysql.hh +++ b/src/base/stats/mysql.hh @@ -92,27 +92,6 @@ class InsertData void insert(); }; -class InsertEvent -{ - private: - char *query; - size_type size; - bool first; - static const size_type maxsize = 1024*1024; - - typedef std::map<std::string, uint32_t> event_map_t; - event_map_t events; - - MySqlRun *run; - - public: - InsertEvent(MySqlRun *_run); - ~InsertEvent(); - - void flush(); - void insert(const std::string &stat); -}; - class MySql : public Output { protected: @@ -121,7 +100,6 @@ class MySql : public Output SetupStat stat; InsertData newdata; - InsertEvent newevent; std::list<FormulaInfo *> formulas; bool configured; @@ -167,9 +145,6 @@ class MySql : public Output virtual bool valid() const; virtual void output(); - // Implement Event Output - virtual void event(const std::string &event); - protected: // Output helper void output(const ScalarInfo &info); |