Index: sql/connection.cc |
diff --git a/sql/connection.cc b/sql/connection.cc |
index d07d425eb1721ac5b1da4c78198caac030fd4744..0cb3b131bcc42ce7c1176b6807daa50e57025cf6 100644 |
--- a/sql/connection.cc |
+++ b/sql/connection.cc |
@@ -1327,7 +1327,8 @@ bool Connection::IntegrityCheckHelper( |
// it could return separate lines, so loop _and_ split. |
while (stmt.Step()) { |
std::string result(stmt.ColumnString(0)); |
- base::SplitString(result, '\n', messages); |
+ *messages = base::SplitString(result, "\n", base::TRIM_WHITESPACE, |
+ base::SPLIT_WANT_ALL); |
} |
ret = stmt.Succeeded(); |
} |