Eli Mesika has uploaded a new change for review.

Change subject: core: fixing users data insertion
......................................................................

core: fixing users data insertion

Changed hex value in insert users script to a call to the PG encode
function since the hex value did not pass in PG 8.4.x on RHEL

Change-Id: I9b522fa1c47df034dce80243440a77fd364d7352
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1192436
Signed-off-by: emesika <emes...@redhat.com>
---
M packaging/dbscripts/data/00100_insert_users.sql
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/29/37829/1

diff --git a/packaging/dbscripts/data/00100_insert_users.sql 
b/packaging/dbscripts/data/00100_insert_users.sql
index cff15dc..43995fb 100644
--- a/packaging/dbscripts/data/00100_insert_users.sql
+++ b/packaging/dbscripts/data/00100_insert_users.sql
@@ -7,7 +7,7 @@
 -- Data for Name: users; Type: TABLE DATA; Schema: public; Owner: engine
 --
 
-INSERT INTO users (user_id, name, surname, domain, username, groups, 
department, role, email, note, status, last_admin_check_status, group_ids, 
external_id) VALUES ('fdfc627c-d875-11e0-90f0-83df133b58cc', 'admin', NULL, 
'internal', 'admin@internal', '', NULL, NULL, NULL, NULL, 1, false, NULL, 
'\xfdfc627cd87511e090f083df133b58cc');
+INSERT INTO users (user_id, name, surname, domain, username, groups, 
department, role, email, note, status, last_admin_check_status, group_ids, 
external_id) VALUES ('fdfc627c-d875-11e0-90f0-83df133b58cc', 'admin', NULL, 
'internal', 'admin@internal', '', NULL, NULL, NULL, NULL, 1, false, NULL, 
decode('fdfc627cd87511e090f083df133b58cc','hex'));
 
 
 --


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I9b522fa1c47df034dce80243440a77fd364d7352
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