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

Function PAR_warning

src/jrd/par.cpp:1679–1702  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1677
1678
1679void PAR_warning(const Arg::StatusVector& v)
1680{
1681/**************************************
1682 *
1683 * P A R _ w a r n i n g
1684 *
1685 **************************************
1686 *
1687 * Functional description
1688 * This is for GBAK so that we can pass warning messages
1689 * back to the client. DO NOT USE this function until we
1690 * fully implement warning at the engine level.
1691 *
1692 * We will use the status vector like a warning vector. What
1693 * we are going to do is leave the [1] position of the vector
1694 * as 0 so that this will not be treated as an error, and we
1695 * will place our warning message in the consecutive positions.
1696 * It will be up to the caller to check these positions for
1697 * the message.
1698 *
1699 **************************************/
1700 fb_assert(v.value()[0] == isc_arg_warning);
1701 ERR_post_warning(v);
1702}
1703
1704
1705// Get the BLR version from the CSB stream and complain if it's unknown.

Callers 4

parseMethod · 0.85
parseMethod · 0.85
parseMethod · 0.85
par_planFunction · 0.85

Calls 2

ERR_post_warningFunction · 0.85
valueMethod · 0.45

Tested by

no test coverage detected