--- 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)
}
}