This is weird.
Looking in the log, here is what it says:
[09/Apr/2003:15:48:31][21439.98311][-conn3-] Notice: Querying '
select brand__new(
null,
'DDDDDDDDDD',
'DDDDDDDDDD',
'DDDDDDDDDDDDDDDd',
'f',
71,
'brand',
now(),
'2284',
'192.168.1.21',
'2328'
);'
[09/Apr/2003:15:48:33][21439.98311][-conn3-] Notice: dbinit: sql(localhost::ibr)
: '
select brand__new(
null,
'DDDDDDDDDD',
'DDDDDDDDDD',
'DDDDDDDDDDDDDDDd',
'f',
71,
'brand',
now(),
'2284',
'192.168.1.21',
'2328'
);
'
[09/Apr/2003:15:48:33][21439.98311][-conn3-] Notice: Querying '
update brand
set name = 'DDDDDDDDDD',
notes = 'DDDDDDDDDDDDDDDd',
display_name = 'DDDDDDDDDDd',
status = 'a',
tm_first_used = to_timestamp('2003 4 9 {} {} {} {MONTH DD YYYY}'
,'YYYY MM DD HH24 MI SS'),
tm_applied = to_timestamp('2003 4 9 {} {} {} {MONTH DD YYYY}'
,'YYYY MM DD HH24 MI SS'),
tm_issued = to_timestamp('2003 4 9 {} {} {} {MONTH DD YYYY}'
,'YYYY MM DD HH24 MI SS'),
tm_renewal = to_timestamp('2003 4 9 {} {} {} {MONTH DD YYYY}'
,'YYYY MM DD HH24 MI SS'),
registration_type = 'w',
bread_p = 't',
bread_mixes_p = 't',
cookies_p = 't',
crackers_p = 't',
other_p = 't',
application_type = 'u',
registration_number = NULL,
sect_8_15_renewal = to_timestamp('2003 4 9 {} {} {} {MONTH DD YYYY}'
,'YYYY MM DD HH24 MI SS'),
ibr_p = 't'
where brand_id = '2836';'
It looks like the brand_id is different in the update statement. Why would that happen?