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
@ -113,7 +113,7 @@ namespace Firebird
|
||||
return assign(p);
|
||||
}
|
||||
|
||||
T* operator=(RefPtr &p)
|
||||
T* operator=(RefPtr& p)
|
||||
{
|
||||
return assign(p.ptr);
|
||||
}
|
||||
|
@ -6732,7 +6732,9 @@ 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
|
||||
{
|
||||
|
@ -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)
|
||||
|
@ -88,7 +88,7 @@ public:
|
||||
|
||||
virtual ~ConfigRoot() {}
|
||||
|
||||
const char *getInstallDirectory() {
|
||||
const char* getInstallDirectory() {
|
||||
osConfigRoot();
|
||||
return install_dir().c_str();
|
||||
}
|
||||
|
@ -152,7 +152,7 @@ public:
|
||||
DatabaseSnapshot* tra_db_snapshot; // Database state snapshot (for monitoring purposes)
|
||||
RuntimeStatistics tra_stats;
|
||||
Firebird::Array<dsql_req*> tra_open_cursors;
|
||||
jrd_tra* const tra_outer; // outer transaction of an autonomous transaction
|
||||
jrd_tra* const tra_outer; // outer transaction of an autonomous transaction
|
||||
|
||||
private:
|
||||
TempSpace* tra_temp_space; // temp space storage
|
||||
|
@ -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
|
||||
|
@ -630,7 +630,7 @@ static bool get_switches(
|
||||
|
||||
/* compare switch to switch name in table */
|
||||
|
||||
for(int l = 0; *p; ++l) {
|
||||
for (int l = 0; *p; ++l) {
|
||||
if (!*++p) {
|
||||
if (l >= in_sw_tab->in_sw_min_length)
|
||||
in_sw = in_sw_tab->in_sw;
|
||||
|
Loading…
Reference in New Issue
Block a user