From cbd2a39e326305addca6214d1fbd5a901ea95cbb Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sun, 24 Apr 2016 18:16:04 +0100 Subject: Don't terminate the SQL command with NULL, std::string doesn't require it --- icetray/tool/embed.sql.cpp.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/icetray/tool/embed.sql.cpp.m4 b/icetray/tool/embed.sql.cpp.m4 index 7043f78..c150b4d 100644 --- a/icetray/tool/embed.sql.cpp.m4 +++ b/icetray/tool/embed.sql.cpp.m4 @@ -2,6 +2,6 @@ changecom(`@@') #include "NAME.sql.h" const std::string NAMESPACE::NAME::sql({ -patsubst(esyscmd(`xxd -p -c 12 ' SQL), `\(..\)', `0x\1, ')0x00}); +patsubst(esyscmd(`xxd -p -c 12 ' SQL), `\(..\)', `0x\1, ')0x0a}); const std::size_t NAMESPACE::NAME::hash(std::hash()(sql)); -- cgit v1.2.3