Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(292)

Unified Diff: sql/recovery.cc

Issue 1223153003: Move JoinString to the base namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: windows Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/base/capabilities_unittest.cc ('k') | tools/set_default_handler/set_default_handler_main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sql/recovery.cc
diff --git a/sql/recovery.cc b/sql/recovery.cc
index f179a636546b79ced978a55dca2482d6197a7d89..4308129d726467f0a868e721d31d09e66bbf96a7 100644
--- a/sql/recovery.cc
+++ b/sql/recovery.cc
@@ -456,12 +456,12 @@ bool Recovery::AutoRecoverTable(const char* table_name,
"CREATE VIRTUAL TABLE temp.recover_%s USING recover(corrupt.%s, %s)",
table_name,
table_name,
- JoinString(create_column_decls, ',').c_str()));
+ base::JoinString(create_column_decls, ",").c_str()));
std::string recover_insert(base::StringPrintf(
"INSERT OR REPLACE INTO main.%s SELECT %s FROM temp.recover_%s",
table_name,
- JoinString(insert_columns, ',').c_str(),
+ base::JoinString(insert_columns, ",").c_str(),
table_name));
std::string recover_drop(base::StringPrintf(
« no previous file with comments | « remoting/base/capabilities_unittest.cc ('k') | tools/set_default_handler/set_default_handler_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698