Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
acs-kernel
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
project-open
acs-kernel
Commits
7a55193e
Commit
7a55193e
authored
Jan 19, 2011
by
Frank Bergmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- fixed V4.0 upgrade issue
parent
b29d783b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
upgrade-5.6.0d1-5.6.0d2.sql
sql/postgresql/upgrade/upgrade-5.6.0d1-5.6.0d2.sql
+4
-4
No files found.
sql/postgresql/upgrade/upgrade-5.6.0d1-5.6.0d2.sql
View file @
7a55193e
...
...
@@ -2,7 +2,7 @@
create
function
inline_0
()
returns
integer
as
'
declare
one_user_id
integer
;
one_user_id
RECORD
;
bio_id integer;
bio_mime_type_id integer;
attr_id integer;
...
...
@@ -40,14 +40,14 @@ begin
for one_user_id in select user_id from users loop
if exists(select attr_value
from acs_attribute_values
where object_id = one_user_id
where object_id = one_user_id
.user_id
and attribute_id = bio_id) then
update persons
set bio = (select attr_value
from acs_attribute_values
where object_id = one_user_id
where object_id = one_user_id
.user_id
and attribute_id = bio_id)
where person_id = one_user_id;
where person_id = one_user_id
.user_id
;
end if;
end loop;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment