mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 22:43:04 +01:00
Misc
This commit is contained in:
parent
d7e1d6ab6e
commit
29fbfbb8ff
@ -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.
|
||||
|
@ -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)
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user