postgresql7.1
select bt_project__keywords_delete(:package_id, 'f')
content_keyword__is_assigned(b.bug_id, $keyword_id, 'none')
left outer join cr_item_keyword_map km_order on (km_order.item_id = b.bug_id)
join cr_keywords kw_order on (km_order.keyword_id = kw_order.keyword_id and kw_order.parent_id = :filter_orderby)
1=1
select bt_project__delete(:project_id);
select bt_project__new(:project_id);