| 9645 | |
| 9646 | |
| 9647 | static void release_sql_request( Rsr* statement) |
| 9648 | { |
| 9649 | /************************************** |
| 9650 | * |
| 9651 | * r e l e a s e _ s q l _ r e q u e s t |
| 9652 | * |
| 9653 | ************************************** |
| 9654 | * |
| 9655 | * Functional description |
| 9656 | * Release an SQL request block. |
| 9657 | * |
| 9658 | **************************************/ |
| 9659 | Rdb* rdb = statement->rsr_rdb; |
| 9660 | rdb->rdb_port->releaseObject(statement->rsr_id); |
| 9661 | |
| 9662 | for (Rsr** p = &rdb->rdb_sql_requests; *p; p = &(*p)->rsr_next) |
| 9663 | { |
| 9664 | if (*p == statement) |
| 9665 | { |
| 9666 | *p = statement->rsr_next; |
| 9667 | break; |
| 9668 | } |
| 9669 | } |
| 9670 | |
| 9671 | release_statement(&statement); |
| 9672 | } |
| 9673 | |
| 9674 | |
| 9675 | static void release_transaction( Rtr* transaction) |
no test coverage detected