Dai Aku (stipe) wrote in lj_dev,
Dai Aku
stipe
lj_dev

Something odd with mood id's

In printing out messages from the livejournal server I noticed something slightly curious in the list of mood id's. For the variable mood_number_id, variables up to mood_49_id all have the same value as "number" (that is, mood_n_id=n).

However, mood_50_id has a value of 51, and all mood_id's up to 92 have a value that is off by one. From 93 upwards, all values are off by two (so mood_n_id=(n+2)).

This isn't a huge problem and can be easily worked around, but can be a little confusing if you're not expecting it. Anyone know what causes this, and would it be easy to fix?
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 8 comments