DepotRepository.updatePartial() expects column names, not ColumnExps
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@663 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
@@ -258,7 +258,7 @@ public class StatRepository extends DepotRepository
|
|||||||
StatRecord.STAT_CODE_C, stat.getCode(),
|
StatRecord.STAT_CODE_C, stat.getCode(),
|
||||||
StatRecord.MOD_COUNT_C, stat.getModCount()),
|
StatRecord.MOD_COUNT_C, stat.getModCount()),
|
||||||
StatRecord.getKey(playerId, stat.getCode()),
|
StatRecord.getKey(playerId, stat.getCode()),
|
||||||
StatRecord.STAT_DATA_C, out.toByteArray(), StatRecord.MOD_COUNT_C, nextModCount);
|
StatRecord.STAT_DATA, out.toByteArray(), StatRecord.MOD_COUNT, nextModCount);
|
||||||
|
|
||||||
if (numRows == 0) {
|
if (numRows == 0) {
|
||||||
// If we failed to update any rows, it could be because we saw an unexpected modCount,
|
// If we failed to update any rows, it could be because we saw an unexpected modCount,
|
||||||
|
|||||||
Reference in New Issue
Block a user