1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-30 19:23:07 +03:00

MCOL-1559 Some string trailing blank stuff

This commit is contained in:
David Hall
2019-03-28 15:25:49 -06:00
parent 8090d6dd9c
commit e5d76e142b
5 changed files with 9 additions and 0 deletions

View File

@ -28,6 +28,7 @@
#include <sys/stat.h>
#include <fcntl.h>
#include <stdexcept>
#include <boost/algorithm/string/trim.hpp>
//#define NDEBUG
#include <cassert>
#include <boost/thread.hpp>
@ -1804,6 +1805,7 @@ private:
for (i = 0; i < count; i++)
{
*bs >> str;
boost::trim_right_if(str, boost::is_any_of(" "));
filter->insert(str);
}