aboutsummaryrefslogtreecommitdiff
path: root/mod/database.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'mod/database.cxx')
-rw-r--r--mod/database.cxx2
1 files changed, 1 insertions, 1 deletions
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;
}