Revision 9488
Added by Jing Tao almost 9 years ago
src/edu/ucsb/nceas/metacat/EventLog.java | ||
---|---|---|
485 | 485 |
subQueryFrom.append("?"); |
486 | 486 |
String eventString = event; |
487 | 487 |
if (eventString.equals(Event.CREATE.xmlValue())) { |
488 |
eventString = "insert";
|
|
488 |
eventString = "(insert,INSERT,upload,UPLOAD,create)";
|
|
489 | 489 |
} |
490 | 490 |
paramValues.add(eventString); |
491 | 491 |
subQueryFrom.append(") "); |
... | ... | |
527 | 527 |
"principal, " + |
528 | 528 |
"case " + |
529 | 529 |
" when event = 'insert' then 'create' " + |
530 |
" when event = 'INSERT' then 'create' " + |
|
531 |
" when event = 'upload' then 'create' " + |
|
532 |
" when event = 'UPLOAD' then 'create' " + |
|
530 | 533 |
" else event " + |
531 | 534 |
"end as event, " + |
532 | 535 |
"date_logged " + |
Also available in: Unified diff
map the metacat log event INSERT, upload and UPLOAD to the dataone log event "create"