MantisBT: master 86da037e

Author Committer Branch Timestamp Parent
dregad dregad master 2013-08-27 15:32 master 02bbb995
Affected Issues  0016331: Attaching file causes ORA-01400: cannot insert NULL into BLOB column
Changeset

Oracle: BLOB columns defaulted to empty_blob()

Fixes an issue preventing insertion of file attachments with
$g_file_upload_method = DISK causing error 'ORA-01400: cannot insert
NULL into ("MANTIS"."M_BUG_FILE_T"."CONTENT")'.

Since I can't do this "properly" without increasing the schema number
(which is not possible in 1.2.x branch), any users encountering this
issue should manually update their schema:

ALTER TABLE M_BUG_FILE_T MODIFY CONTENT DEFAULT empty_blob();
ALTER TABLE M_PROJECT_FILE_T MODIFY CONTENT DEFAULT empty_blob();

Fixes 0016331

mod - admin/schema.php Diff File