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

Function error_post

src/yvalve/user_dsql.cpp:1090–1097  ·  view source on GitHub ↗

____________________________________________________________ Post an error sequence to the status vector. Since an error sequence can, in theory, be arbitrarily lock, pull a cheap trick to get the address of the argument vector. this is a copy of the routine found in err.c with the exception that it uses a different error block - one which is local to the V3 DSQL routines...

Source from the content-addressed store, hash-verified

1088// is local to the V3 DSQL routines...
1089//
1090static void error_post(const Arg::StatusVector& v)
1091{
1092 // Save status vector in appropriate place
1093 v.copyTo(UDSQL_error->dsql_status);
1094
1095 // Give up whatever we were doing and return to the user.
1096 Firebird::status_exception::raise(UDSQL_error->dsql_status);
1097}
1098
1099
1100//____________________________________________________________

Callers 3

insert_nameFunction · 0.85
lookup_stmtFunction · 0.85

Calls 2

raiseFunction · 0.85
copyToMethod · 0.45

Tested by

no test coverage detected