8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 22:43:04 +01:00
This commit is contained in:
asfernandes 2008-04-06 14:45:51 +00:00
parent d7e1d6ab6e
commit 29fbfbb8ff
7 changed files with 10 additions and 8 deletions

View File

@ -6732,8 +6732,10 @@ static void modify_field(dsql_req* request,
else if (defNod->nod_type == nod_del_default)
request->append_uchar(isc_dyn_del_default);
else
{
fb_assert(false);
}
}
else
{
// We have the type. Default and type/domain are exclusive for now.

View File

@ -797,7 +797,7 @@ int INTL_convert_string(dsc* to, const dsc* from, FPTR_ERROR err)
toLength != 31 && /* allow non CHARSET_LEGACY_SEMANTICS to be used as connection charset */
toCharSet->length(toLength, start, false) > to_size / toCharSet->maxBytesPerChar())
{
(*err)(isc_arith_except, isc_arg_gds, isc_transliteration_failed, 0);
(*err)(isc_arith_except, isc_arg_gds, isc_string_truncation, 0);
}
if (from_fill)

View File

@ -5128,9 +5128,9 @@ static bool batch_gds_receive(rem_port* port,
break;
#ifdef SCROLLABLE_CURSORS
/* if we are just trying to clear the queue, then NULL out the message
address so we don't get a record out of order--it would mess up
scrolling through the cache */
// if we are just trying to clear the queue, then NULL out the message
// address so we don't get a record out of order--it would mess up
// scrolling through the cache
message->msg_address = NULL;
#endif