| 219 | } |
| 220 | |
| 221 | void ReplPlugin::setAttachment(IAttachment* attachment) |
| 222 | { |
| 223 | WriteLog(log, "%p\tAssigned attachment %p\n", this, attachment); |
| 224 | att = attachment; |
| 225 | att->addRef(); |
| 226 | CheckStatusWrapper ExtStatus(status); |
| 227 | const unsigned char items[] = { fb_info_db_guid }; |
| 228 | unsigned char response[80]; |
| 229 | att->getInfo(&ExtStatus, sizeof(items), items, sizeof(response), response); |
| 230 | if (status->getState() == 0) |
| 231 | { |
| 232 | dumpInfo(response, sizeof(response)); |
| 233 | } |
| 234 | } |
| 235 | |
| 236 | IReplicatedTransaction* ReplPlugin::startTransaction(ITransaction* transaction, ISC_INT64 number) |
| 237 | { |