| 876 | |
| 877 | |
| 878 | void TRA_unlink_cursor(jrd_tra* transaction, DsqlCursor* cursor) |
| 879 | { |
| 880 | /************************************** |
| 881 | * |
| 882 | * T R A _ u n l i n k _ c u r s o r |
| 883 | * |
| 884 | ************************************** |
| 885 | * |
| 886 | * Functional description |
| 887 | * Remove cursor from the list of open cursors. |
| 888 | * |
| 889 | **************************************/ |
| 890 | |
| 891 | FB_SIZE_T pos; |
| 892 | if (transaction->tra_open_cursors.find(cursor, pos)) |
| 893 | transaction->tra_open_cursors.remove(pos); |
| 894 | } |
| 895 | |
| 896 | |
| 897 | void TRA_update_counters(thread_db* tdbb, Database* dbb) |