Commit 6cfd476a authored by Thomas Braun's avatar Thomas Braun
Browse files

DataBase.cpp: Remove tmp prefix from tmp_str variables

And rename it properly.
parent 52b7b7fa
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -3330,11 +3330,11 @@ Tango::DevVarStringArray *DataBase::db_get_device_attribute_property2(const Tang
    {
        if((row = mysql_fetch_row(result)) != nullptr)
        {
            std::stringstream tmp_str;
            std::stringstream sstr;
            std::string nb_attr_str = row[0];
            tmp_str << nb_attr_str;
            sstr << nb_attr_str;
            unsigned int nb_attr = 0;
            tmp_str >> nb_attr;
            sstr >> nb_attr;
            if(property_names->length() - 1 >= nb_attr)
            {
                all_attr = true;
@@ -7980,11 +7980,11 @@ Tango::DevVarStringArray *DataBase::db_get_device_pipe_property(const Tango::Dev
    {
        if((row = mysql_fetch_row(result)) != nullptr)
        {
            std::stringstream tmp_str;
            std::stringstream sstr;
            std::string nb_pipe_str = row[0];
            tmp_str << nb_pipe_str;
            sstr << nb_pipe_str;
            unsigned int nb_pipe = 0;
            tmp_str >> nb_pipe;
            sstr >> nb_pipe;
            if(property_names->length() - 1 >= nb_pipe)
            {
                all_pipe = true;