src/PreparedStatement.cpp
branchv_0
changeset 28 498d5d3406c3
parent 26 49919a60c747
child 29 b0ef1e1dc9c8
--- a/src/PreparedStatement.cpp	Wed Dec 25 01:07:41 2019 +0100
+++ b/src/PreparedStatement.cpp	Wed Dec 25 01:26:02 2019 +0100
@@ -15,6 +15,8 @@
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
 
+#include <cstring>
+
 #include "PreparedStatement.h"
 
 namespace relpipe {
@@ -94,7 +96,7 @@
 
 std::string PreparedStatement::getString(int columnIndex) {
 	const char* value = (const char*) sqlite3_column_text(stmt, columnIndex);
-		return value ? value : ""; // TODO: support NULL values (when supported in relpipe format)
+	return value ? value : ""; // TODO: support NULL values (when supported in relpipe format)
 }
 
 }