From 5bf2dd09110f257acc730eab71301e1dede1c710 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 27 Oct 2022 16:32:08 +0200 Subject: Suppress (potential) bogus GCC 12 -Wrestrict warnings --- mod/database.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mod/database.cxx') diff --git a/mod/database.cxx b/mod/database.cxx index d53ee50..c88555a 100644 --- a/mod/database.cxx +++ b/mod/database.cxx @@ -59,7 +59,7 @@ namespace brep // Change the connection current user to the execution user name. // if (!role_.empty ()) - conn->execute ("SET ROLE '" + role_ + "'"); + conn->execute ("SET ROLE '" + role_ + '\''); return conn; } -- cgit v1.1