Eli Mesika has uploaded a new change for review.

Change subject: core: WARNING: nonstandard use of escape in...
......................................................................

core: WARNING: nonstandard use of escape in...

WARNING: nonstandard use of escape in a string literal

Adding use of the escape string syntax for escapes,

Change-Id: I168e1fe503c235d36b07aed18d88dc017726155e
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=958018
Signed-off-by: Eli Mesika <emes...@redhat.com>
---
M backend/manager/dbscripts/create_functions.sql
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/79/14379/1

diff --git a/backend/manager/dbscripts/create_functions.sql 
b/backend/manager/dbscripts/create_functions.sql
index 8ed564e..69c2566 100644
--- a/backend/manager/dbscripts/create_functions.sql
+++ b/backend/manager/dbscripts/create_functions.sql
@@ -684,10 +684,10 @@
 AS $procedure$
 BEGIN
 CASE
-    WHEN ($1 IS NULL) OR ($1 ~ '^\s*$') THEN
+    WHEN ($1 IS NULL) OR ($1 ~ E'^\s*$') THEN
         RETURN NULL;
     ELSE
-        RETURN regexp_split_to_array(trim(both from $1), '\s+')::inet[];
+        RETURN regexp_split_to_array(trim(both from $1), E'\s+')::inet[];
 END CASE;
 END; $procedure$
 LANGUAGE plpgsql;


--
To view, visit http://gerrit.ovirt.org/14379
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I168e1fe503c235d36b07aed18d88dc017726155e
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Eli Mesika <emes...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to