Greg’s fix has been merged. The new update script will be part of 4.3.3 as well as 4.4.0. I’d appreciate if someone could test the fix using a nightly build.
The solution had been verified on SQL server before I posted this topic.
BTW, Oracle has no such IF EXISTS option. Need use plsql block to achieve this:
[
DECLARE
index_count INTEGER;
BEGIN
SELECT COUNT(*) INTO index_count
FROM USER_INDEXES
WHERE INDEX_NAME IN (‘ofMucConvLog_msg_id’, UPPER(‘ofMucConvLog_msg_id’));
IF index_count > 0 THEN
EXECUTE IMMEDIATE ‘DROP INDEX ofMucConvLog_msg_id’;
END IF;
END;
]
Note that by default, all text tokens are converted to uppercase and then indexed in Oracle, so should also compare upper cased index name.