MantisBT: master 403db3c8

Author Committer Branch Timestamp Parent
Paul Richards master 2007-10-27 21:06 master b415ad99
Changeset

Database API changes - Use query bound queries.

This is a partial commit as we need to update all db queries to support bound params.

Previously reviewed partly by thraxisp + discussed on irc months ago.

Now that 1.1 is branched, change this in head for future 1.2.0 release.

This commit also include code to fix pgsql handling of BOOL values - currently pgsql support doesn't work on a new database, as adodb changed it's definition of L ( Integer field suitable for storing booleans (0 or 1)) from TINYINT to BOOLEAN in pgsql - where BOOLEAN in pgsql does not accept "=0" as a value - adodb need to define what exactly there definition of 'L' is.

For now, the approach i'm taking I believe is similar to that which doctrine and other newer abstraction layers take.

FIX: 0007616: Can't create tables on postgresql
FIX: 0007755: Install error on pgsql
FIX: 0007655: postgresql does not support int values for boolean fields
FIX: 0008375: signup problem

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@4671 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9

mod - changelog_page.php Diff File
mod - core/authentication_api.php Diff File
mod - core/profile_api.php Diff File
mod - print_all_bug_options_update.php Diff File
mod - bug_monitor_list_view_inc.php Diff File
mod - core/bugnote_api.php Diff File
mod - print_all_bug_options_inc.php Diff File
mod - core/filter_api.php Diff File
mod - graphs/graph_by_severity.php Diff File
mod - print_all_bug_options_reset.php Diff File
mod - adm_config_report.php Diff File
mod - graphs/graph_by_cumulative.php Diff File
mod - graphs/graph_reported_by_me.php Diff File
mod - core/user_api.php Diff File
mod - graphs/graph_by_severity_status.php Diff File
mod - core/version_api.php Diff File
mod - core/tokens_api.php Diff File
mod - graphs/graph_by_category.php Diff File
mod - core/user_pref_api.php Diff File
mod - graphs/graph_assigned_to_me.php Diff File
mod - core/tag_api.php Diff File
mod - core/print_api.php Diff File
mod - graphs/graph_by_release_delta.php Diff File
mod - core/file_api.php Diff File
mod - core/news_api.php Diff File
mod - core/email_queue_api.php Diff File
mod - admin/schema.php Diff File
mod - core/category_api.php Diff File
mod - core/project_api.php Diff File
mod - admin/upgrade_inc.php Diff File
mod - admin/db_stats.php Diff File
mod - core/project_hierarchy_api.php Diff File
mod - core/history_api.php Diff File
mod - core/config_api.php Diff File
mod - graphs/graph_by_daily_delta.php Diff File
mod - bugnote_view_inc.php Diff File
mod - admin/move_db2disk.php Diff File
mod - core/bug_api.php Diff File
mod - core/sponsorship_api.php Diff File
mod - admin/upgrade_escaping.php Diff File
mod - core/database_api.php Diff File
mod - print_all_bug_page_excel.php Diff File
mod - core/custom_field_api.php Diff File
mod - core/access_api.php Diff File