Another tweak, now that code/value is the full key.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@392 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
@@ -254,9 +254,7 @@ public class StatRepository extends DepotRepository
|
|||||||
// if it is a duplicate row exception, possibly someone inserted our value
|
// if it is a duplicate row exception, possibly someone inserted our value
|
||||||
// before we could, in which case we can just look up the new mapping
|
// before we could, in which case we can just look up the new mapping
|
||||||
StringCodeRecord record = load(
|
StringCodeRecord record = load(
|
||||||
StringCodeRecord.class,
|
StringCodeRecord.class, StringCodeRecord.getKey(type.code(), value));
|
||||||
new Where(StringCodeRecord.STAT_CODE_C, type.code(),
|
|
||||||
StringCodeRecord.VALUE_C, value));
|
|
||||||
if (record != null) {
|
if (record != null) {
|
||||||
log.info("Value collision assigning string code [type=" + type +
|
log.info("Value collision assigning string code [type=" + type +
|
||||||
", value=" + value + "].");
|
", value=" + value + "].");
|
||||||
|
|||||||
Reference in New Issue
Block a user