mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 08:03:04 +01:00
Misc.
This commit is contained in:
parent
2e7ca28cce
commit
7bb6f550ee
@ -9191,10 +9191,10 @@ void CreateAlterUserNode::execute(thread_db* tdbb, DsqlCompilerScratch* dsqlScra
|
||||
// alter current user
|
||||
UserId* usr = tdbb->getAttachment()->att_user;
|
||||
fb_assert(usr);
|
||||
|
||||
if (!usr)
|
||||
{
|
||||
(Arg::Gds(isc_random) << "Missing user name for ALTER CURRENT USER").raise();
|
||||
}
|
||||
|
||||
text = usr->usr_user_name;
|
||||
}
|
||||
text.upper();
|
||||
|
@ -289,6 +289,7 @@ void UserManagement::execute(USHORT id)
|
||||
merge(merged, cur);
|
||||
++cur;
|
||||
}
|
||||
|
||||
while (old != oldEnd)
|
||||
{
|
||||
merge(merged, old);
|
||||
@ -440,6 +441,7 @@ RecordBuffer* UserManagement::getList(thread_db* tdbb, jrd_rel* relation)
|
||||
private:
|
||||
UserManagement* userManagement;
|
||||
};
|
||||
|
||||
FillSnapshot fillSnapshot(this);
|
||||
|
||||
LocalStatus status;
|
||||
|
@ -522,7 +522,7 @@ UCHAR* IndexTableScan::openStream(thread_db* tdbb, Impure* impure, win* window)
|
||||
// If END_BUCKET is reached BTR_find_leaf will return NULL
|
||||
while (!(pointer = BTR_find_leaf(page, limit_ptr, impure->irsb_nav_data, NULL,
|
||||
(idx->idx_flags & idx_descending),
|
||||
(retrieval->irb_generic & (irb_starting | irb_partial)) )))
|
||||
(retrieval->irb_generic & (irb_starting | irb_partial)))))
|
||||
{
|
||||
page = (Ods::btree_page*) CCH_HANDOFF(tdbb, window, page->btr_sibling,
|
||||
LCK_read, pag_index);
|
||||
|
@ -609,8 +609,10 @@ const char* capArray[] = {
|
||||
void printCapabilities(const char*& p)
|
||||
{
|
||||
printMessage(57);
|
||||
|
||||
int caps = getNumeric(p);
|
||||
bool print = false;
|
||||
|
||||
for (unsigned i = 0; capArray[i]; ++i)
|
||||
{
|
||||
if (caps & (1 << i))
|
||||
|
Loading…
Reference in New Issue
Block a user