Fix fixing of std::string object names

Comparing two fixed std::strings would have equal C strings but comparing
with operator== they would be different. This was a result of the string
modification done by fix_object_name.

Converted the internal header into a C++ header, added std::string
overload and fixed use of the function.
This commit is contained in:
Markus Mäkelä
2018-07-29 10:59:58 +03:00
parent afde1fa072
commit 3be975ba5d
11 changed files with 25 additions and 20 deletions

View File

@ -42,7 +42,7 @@
#include <maxscale/alloc.h>
#include <maxscale/utils.hh>
#include "../../../../core/internal/modules.h"
#include "../../../../core/internal/config.h"
#include "../../../../core/internal/config.hh"
#include <maxscale/protocol/mysql.h>
#include <ini.h>