Skip to content

Commit 3d0eaa7

Browse files
committed
add some spaces
1 parent 887db69 commit 3d0eaa7

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

src/MariadbFilteringLazy.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ void MariadbFilteringLazy::appendOrderby(std::string &retStr) const
7979
return;
8080
}
8181

82-
retStr.append("ORDER BY ");
82+
retStr.append(" ORDER BY ");
8383

8484
std::visit([&retStr, this](auto&& arg) {
8585
using T = std::decay_t<decltype(arg)>;
@@ -101,7 +101,7 @@ void MariadbFilteringLazy::appendLimit(std::string &retStr) const
101101
return;
102102
}
103103

104-
retStr.append("LIMIT ");
104+
retStr.append(" LIMIT ");
105105

106106
std::visit([&retStr, this](auto&& arg) {
107107
using T = std::decay_t<decltype(arg)>;
@@ -123,7 +123,7 @@ void MariadbFilteringLazy::appendGroup(std::string &retStr) const
123123
return;
124124
}
125125

126-
retStr.append("GROUP BY ");
126+
retStr.append(" GROUP BY ");
127127

128128
std::visit([&retStr, this](auto&& arg) {
129129
using T = std::decay_t<decltype(arg)>;
@@ -145,7 +145,7 @@ void MariadbFilteringLazy::appendHaving(std::string &retStr) const
145145
return;
146146
}
147147

148-
retStr.append("HAVING ");
148+
retStr.append(" HAVING ");
149149

150150
for(const auto &havingItem : mHavingConditions)
151151
{

src/PostgreFilteringLazy.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ void PostgreFilteringLazy::appendOrderby(std::string &retStr) const
7979
return;
8080
}
8181

82-
retStr.append("ORDER BY ");
82+
retStr.append(" ORDER BY ");
8383

8484
std::visit([&retStr, this](auto&& arg) {
8585
using T = std::decay_t<decltype(arg)>;
@@ -101,7 +101,7 @@ void PostgreFilteringLazy::appendLimit(std::string &retStr) const
101101
return;
102102
}
103103

104-
retStr.append("LIMIT ");
104+
retStr.append(" LIMIT ");
105105

106106
std::visit([&retStr, this](auto&& arg) {
107107
using T = std::decay_t<decltype(arg)>;
@@ -123,7 +123,7 @@ void PostgreFilteringLazy::appendGroup(std::string &retStr) const
123123
return;
124124
}
125125

126-
retStr.append("GROUP BY ");
126+
retStr.append(" GROUP BY ");
127127

128128
std::visit([&retStr, this](auto&& arg) {
129129
using T = std::decay_t<decltype(arg)>;
@@ -145,7 +145,7 @@ void PostgreFilteringLazy::appendHaving(std::string &retStr) const
145145
return;
146146
}
147147

148-
retStr.append("HAVING ");
148+
retStr.append(" HAVING ");
149149

150150
for(const auto &havingItem : mHavingConditions)
151151
{

src/SqliteFilteringLazy.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ void SqliteFilteringLazy::appendOrderby(std::string &retStr) const
7979
return;
8080
}
8181

82-
retStr.append("ORDER BY ");
82+
retStr.append(" ORDER BY ");
8383

8484
std::visit([&retStr, this](auto&& arg) {
8585
using T = std::decay_t<decltype(arg)>;
@@ -101,7 +101,7 @@ void SqliteFilteringLazy::appendLimit(std::string &retStr) const
101101
return;
102102
}
103103

104-
retStr.append("LIMIT ");
104+
retStr.append(" LIMIT ");
105105

106106
std::visit([&retStr, this](auto&& arg) {
107107
using T = std::decay_t<decltype(arg)>;
@@ -123,7 +123,7 @@ void SqliteFilteringLazy::appendGroup(std::string &retStr) const
123123
return;
124124
}
125125

126-
retStr.append("GROUP BY ");
126+
retStr.append(" GROUP BY ");
127127

128128
std::visit([&retStr, this](auto&& arg) {
129129
using T = std::decay_t<decltype(arg)>;
@@ -145,7 +145,7 @@ void SqliteFilteringLazy::appendHaving(std::string &retStr) const
145145
return;
146146
}
147147

148-
retStr.append("HAVING ");
148+
retStr.append(" HAVING ");
149149

150150
for(const auto &havingItem : mHavingConditions)
151151
{

0 commit comments

Comments
 (0)