| 5929 | |
| 5930 | |
| 5931 | static void release_sql_request( Rsr* statement) |
| 5932 | { |
| 5933 | /************************************** |
| 5934 | * |
| 5935 | * r e l e a s e _ s q l _ r e q u e s t |
| 5936 | * |
| 5937 | ************************************** |
| 5938 | * |
| 5939 | * Functional description |
| 5940 | * Release an SQL request block. |
| 5941 | * |
| 5942 | **************************************/ |
| 5943 | Rdb* rdb = statement->rsr_rdb; |
| 5944 | rdb->rdb_port->releaseObject(statement->rsr_id); |
| 5945 | |
| 5946 | for (Rsr** p = &rdb->rdb_sql_requests; *p; p = &(*p)->rsr_next) |
| 5947 | { |
| 5948 | if (*p == statement) |
| 5949 | { |
| 5950 | *p = statement->rsr_next; |
| 5951 | break; |
| 5952 | } |
| 5953 | } |
| 5954 | |
| 5955 | release_statement(&statement); |
| 5956 | } |
| 5957 | |
| 5958 | |
| 5959 | static void release_transaction( Rtr* transaction) |
no test coverage detected