finish writeIdentifier() method v_0
authorFrantišek Kučera <franta-hg@frantovo.cz>
Tue, 22 Oct 2019 16:04:23 +0200
branchv_0
changeset 11 ccf19c7e7adf
parent 10 7da7173d84b0
child 12 0b38339b871b
finish writeIdentifier() method
src/SqlHandler.h
--- a/src/SqlHandler.h	Tue Oct 22 16:02:57 2019 +0200
+++ b/src/SqlHandler.h	Tue Oct 22 16:04:23 2019 +0200
@@ -175,10 +175,12 @@
 	}
 
 	void writeIdentifier(std::wstringstream& output, relpipe::writer::string_t identifier) {
+		output << L'"';
 		for (auto & ch : identifier) {
 			if (ch == L'"') output << L"\"\"";
 			else output << ch;
 		}
+		output << L'"';
 	}
 
 public: