projects
/
platal.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95b1a6d
)
Fixes corps insertion.
author
Stéphane Jacob
<sj@m4x.org>
Mon, 13 Dec 2010 16:07:03 +0000
(17:07 +0100)
committer
Stéphane Jacob
<sj@m4x.org>
Mon, 13 Dec 2010 16:07:03 +0000
(17:07 +0100)
Signed-off-by: Stéphane Jacob <sj@m4x.org>
upgrade/1.0.1/merge.php
patch
|
blob
|
blame
|
history
diff --git
a/upgrade/1.0.1/merge.php
b/upgrade/1.0.1/merge.php
index
5f04266
..
4255429
100755
(executable)
--- a/
upgrade/1.0.1/merge.php
+++ b/
upgrade/1.0.1/merge.php
@@
-154,7
+154,7
@@
XDB::rawExecute("INSERT IGNORE INTO profile_corps (pid, original_corpsid, curre
SELECT f.pid, c.id, c.id, r.id, 'ax'
FROM fusionax_anciens AS f
INNER JOIN profile_corps_enum AS c ON (f.corps_sortie = c.abbreviation)
- INNER JOIN profile_corps_rank_enum AS r ON (f.grade = r.
abbreviation
)
+ INNER JOIN profile_corps_rank_enum AS r ON (f.grade = r.
name
)
WHERE NOT EXISTS (SELECT *
FROM profile_corps AS pc
WHERE f.pid = pc.pid AND pc.original_corpsid != 1)");