MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / resetAttachment

Method resetAttachment

src/jrd/jrd.cpp:1285–1295  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1283 }
1284
1285 void Attachment::InitialOptions::resetAttachment(Attachment* attachment) const
1286 {
1287 // reset DecFloat options
1288 attachment->att_dec_status = decFloatStatus;
1289
1290 // reset time zone options
1291 attachment->att_current_timezone = attachment->att_original_timezone = originalTimeZone;
1292
1293 // reset bindings
1294 attachment->att_bindings.clear();
1295 }
1296} // namespace Jrd
1297
1298/// trace manager support

Callers 2

setInitialOptionsMethod · 0.80
resetSessionMethod · 0.80

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected