Loading DataBase.cpp +0 −3 Original line number Diff line number Diff line Loading @@ -462,9 +462,6 @@ void DataBase::init_device() { } // Check history tables check_history_tables(); init_timing_stats(); attr_StoredProcedureRelease_read = new char *; *attr_StoredProcedureRelease_read = nullptr; Loading DataBase.h +0 −1 Original line number Diff line number Diff line Loading @@ -1476,7 +1476,6 @@ public: std::string escape_string(const char *string_c_str); void init_timing_stats(); Tango::DevULong64 get_id(const char *name, DatabaseConnectionHandle &dch); void check_history_tables(); void purge_property( const char *table, const char *field, const char *object, const char *name, DatabaseConnectionHandle &dch); void purge_att_property(const char *table, Loading DataBaseUtils.cpp +0 −23 Original line number Diff line number Diff line Loading @@ -385,29 +385,6 @@ void DataBase::init_timing_stats() timing_stats_mutex.unlock(); } //+---------------------------------------------------------------------------- // // method : DataBase::check_history_tables() // // description : Return history id // //----------------------------------------------------------------------------- void DataBase::check_history_tables() { TangoSys_MemStream sql_query_stream; MYSQL_RES *result; INFO_STREAM << "DataBase::check_history_tables(): entering" << std::endl; sql_query_stream.str(""); sql_query_stream << "SELECT count(*) FROM property_device_hist"; DEBUG_STREAM << "DataBase::check_history_tables(): sql_query " << sql_query_stream.str() << std::endl; DatabaseConnectionHandle dch(dcp); result = query(sql_query_stream.str(), "check_history_tables()", dch); mysql_free_result(result); } //+---------------------------------------------------------------------------- // // method : DataBase::get_id() Loading Loading
DataBase.cpp +0 −3 Original line number Diff line number Diff line Loading @@ -462,9 +462,6 @@ void DataBase::init_device() { } // Check history tables check_history_tables(); init_timing_stats(); attr_StoredProcedureRelease_read = new char *; *attr_StoredProcedureRelease_read = nullptr; Loading
DataBase.h +0 −1 Original line number Diff line number Diff line Loading @@ -1476,7 +1476,6 @@ public: std::string escape_string(const char *string_c_str); void init_timing_stats(); Tango::DevULong64 get_id(const char *name, DatabaseConnectionHandle &dch); void check_history_tables(); void purge_property( const char *table, const char *field, const char *object, const char *name, DatabaseConnectionHandle &dch); void purge_att_property(const char *table, Loading
DataBaseUtils.cpp +0 −23 Original line number Diff line number Diff line Loading @@ -385,29 +385,6 @@ void DataBase::init_timing_stats() timing_stats_mutex.unlock(); } //+---------------------------------------------------------------------------- // // method : DataBase::check_history_tables() // // description : Return history id // //----------------------------------------------------------------------------- void DataBase::check_history_tables() { TangoSys_MemStream sql_query_stream; MYSQL_RES *result; INFO_STREAM << "DataBase::check_history_tables(): entering" << std::endl; sql_query_stream.str(""); sql_query_stream << "SELECT count(*) FROM property_device_hist"; DEBUG_STREAM << "DataBase::check_history_tables(): sql_query " << sql_query_stream.str() << std::endl; DatabaseConnectionHandle dch(dcp); result = query(sql_query_stream.str(), "check_history_tables()", dch); mysql_free_result(result); } //+---------------------------------------------------------------------------- // // method : DataBase::get_id() Loading