bug_tracker::unmap_patch_from_bug (public)

 bug_tracker::unmap_patch_from_bug -patch_number patch_number \
    -bug_number bug_number

Defined in packages/bug-tracker/tcl/bug-tracker-procs.tcl

Switches:
-patch_number (required)
-bug_number (required)

Partial Call Graph (max 5 caller/called nodes):
%3 packages/bug-tracker/www/unmap-patch-from-bug.tcl packages/bug-tracker/ www/unmap-patch-from-bug.tcl bug_tracker::unmap_patch_from_bug bug_tracker::unmap_patch_from_bug packages/bug-tracker/www/unmap-patch-from-bug.tcl->bug_tracker::unmap_patch_from_bug ad_conn ad_conn (public) bug_tracker::unmap_patch_from_bug->ad_conn db_dml db_dml (public) bug_tracker::unmap_patch_from_bug->db_dml

Testcases:
No testcase defined.
Source code:
    set package_id [ad_conn package_id]
    db_dml unmap_patch_from_bug {}
Generic XQL file:
<fullquery name="bug_tracker::unmap_patch_from_bug.unmap_patch_from_bug">
    <querytext>
      
        delete from bt_patch_bug_map
          where bug_id = (select bug_id from bt_bugs 
                          where bug_number = :bug_number
                            and project_id = :package_id)
            and patch_id = (select patch_id from bt_patches
                            where patch_number = :patch_number
                            and project_id = :package_id)
    
      </querytext>
</fullquery>
packages/bug-tracker/tcl/bug-tracker-procs.xql

PostgreSQL XQL file:
packages/bug-tracker/tcl/bug-tracker-procs-postgresql.xql

Oracle XQL file:
packages/bug-tracker/tcl/bug-tracker-procs-oracle.xql

[ hide source ] | [ make this the default ]
Show another procedure: