MantisBT: master 1a444345

Author Committer Branch Timestamp Parent
dregad dregad master 2014-05-13 01:30 master adafb1c2
Affected Issues  0017333: Adding a new version fails with ORA-01400
Changeset

Consistently use db_prepare_bool() for boolean columns

In Version API, the released column was treated as an integer, despite
the fact that it's defined as 'L' in the schema. This can cause problems
with PostgreSQL.

Also fixes 0017333, Oracle throwed an ORA-01400 error when adding a new
version (regression caused by a80f447687722b52160d00c96c21a5be5f4329e1,
which removed the call to db_prepare_bool()).

mod - core/version_api.php Diff File