Skip to content

Commit e5eeea8

Browse files
authored
Merge pull request #187 from sebastic/spelling-errors
Fix spelling errors.
2 parents cc73a39 + dab71c1 commit e5eeea8

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

src/database/Export2DB.cpp

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -167,16 +167,16 @@ void Export2DB::dropTables() const {
167167
pqxx::work Xaction(db_conn);
168168

169169
Xaction.exec(ways().drop());
170-
std::cout << "TABLE: " << ways().addSchema() << " droped ... OK.\n";
170+
std::cout << "TABLE: " << ways().addSchema() << " dropped ... OK.\n";
171171

172172
Xaction.exec(vertices().drop());
173-
std::cout << "TABLE: " << vertices().addSchema() << " droped ... OK.\n";
173+
std::cout << "TABLE: " << vertices().addSchema() << " dropped ... OK.\n";
174174

175175
Xaction.exec(pois().drop());
176-
std::cout << "TABLE: " << pois().addSchema() << " droped ... OK.\n";
176+
std::cout << "TABLE: " << pois().addSchema() << " dropped ... OK.\n";
177177

178178
Xaction.exec(configuration().drop());
179-
std::cout << "TABLE: " << configuration().addSchema() << " droped ... OK.\n";
179+
std::cout << "TABLE: " << configuration().addSchema() << " dropped ... OK.\n";
180180

181181
Xaction.commit();
182182
} catch (const std::exception &e) {
@@ -188,13 +188,13 @@ void Export2DB::dropTables() const {
188188
pqxx::connection db_conn(conninf);
189189
pqxx::work Xaction(db_conn);
190190
Xaction.exec(osm_nodes().drop());
191-
std::cout << "TABLE: " << osm_nodes().addSchema() << " droped ... OK.\n";
191+
std::cout << "TABLE: " << osm_nodes().addSchema() << " dropped ... OK.\n";
192192

193193
Xaction.exec(osm_ways().drop());
194-
std::cout << "TABLE: " << osm_ways().addSchema() << " droped ... OK.\n";
194+
std::cout << "TABLE: " << osm_ways().addSchema() << " dropped ... OK.\n";
195195

196196
Xaction.exec(osm_relations().drop());
197-
std::cout << "TABLE: " << osm_relations().addSchema() << " droped ... OK.\n";
197+
std::cout << "TABLE: " << osm_relations().addSchema() << " dropped ... OK.\n";
198198

199199
Xaction.commit();
200200
} catch (const std::exception &e) {

src/osm_elements/osm2pgrouting.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ int main(int argc, char* argv[]) {
133133
<< endl;
134134
pqxx::connection C(connection_str);
135135
if (C.is_open()) {
136-
cout << "database connection successfull: " << C.dbname() << endl;
136+
cout << "database connection successful: " << C.dbname() << endl;
137137
} else {
138138
cout << "Can't open database" << endl;
139139
return 1;

0 commit comments

Comments
 (0)