MantisBT: adodb d6a5efd9

Author Committer Branch Timestamp Parent
dregad dregad adodb 2014-05-13 01:36 adodb 27566df6
Changeset

Update constants for consistency underlying db column type

We define constants VERSION_FUTURE = 0 and VERSION_RELEASED = 1
for use with project_version.released column. However, it is defined as
type 'L' which maps to boolean in some DB types.

To prevent errors caused by mismatched data types, the constants are now
using true/false. If we ever need to store more values, the column's
type should be changed to integer in the schema.

mod - core/constant_inc.php Diff File