8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 04:03:04 +01:00

Source code comments.

This commit is contained in:
robocop 2005-09-27 07:47:11 +00:00
parent 974f83d62e
commit eb03e65ddc
2 changed files with 7 additions and 3 deletions

View File

@ -46,7 +46,7 @@ char* exact_name(char* const str)
{
/**************************************
*
* f b _ e x a c t _ n a m e
* e x a c t _ n a m e
*
**************************************
*
@ -76,7 +76,7 @@ char* exact_name_limit(char* const str, size_t bufsize)
{
/**************************************
*
* f b _ e x a c t _ n a m e _ l i m i t
* e x a c t _ n a m e _ l i m i t
*
**************************************
*
@ -130,6 +130,10 @@ int name_length(const TEXT* const name)
}
// ***************
// s n p r i n t f
// ***************
// Provide a single place to deal with vsnprintf and error detection.
int snprintf(char* buffer, size_t count, const char* format...)
{
va_list args;

View File

@ -2158,7 +2158,7 @@ static bool modify_generator(thread_db* tdbb, SSHORT phase, DeferredWork* work,
return false;
case 1:
check_system_generator(gen_name, dfw_modify_generator);
if (work->dfw_id)
if (work->dfw_id) // != 0 means not only the desc was changed.
ERR_post(isc_no_meta_update,
isc_arg_gds, isc_generator_name,
isc_arg_string, ERR_cstring(gen_name),