Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Correction of the return values of the DatabaseInfo methods for determining the insert, read and delete operations#1183

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
DevM900 wants to merge22 commits intoFirebirdSQL:master
base:master
Choose a base branch
Loading
fromDevM900:DatabaseInfo

Conversation

@DevM900
Copy link
Contributor

These changes make it possible to analyze the performance of queries.

mobeil1 reacted with thumbs up emoji
IDictionary<short,ulong>readSeqCount=dbInfo.GetReadSeqCount();
IDictionary<short,ulong>readIdxCount=dbInfo.GetReadIdxCount();

varfbCommand=newFbCommand("SELECT MAX(INT_FIELD) FROM TEST",Connection);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

await using

Copy link
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

done

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Does not look like it's here.

IDictionary<short,ulong>readSeqCount=dbInfo.GetReadSeqCount();
IDictionary<short,ulong>readIdxCount=dbInfo.GetReadIdxCount();

varfbCommand=newFbCommand("INSERT INTO TEST (INT_FIELD) VALUES (900)",Connection);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

await using

Copy link
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

done

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Does not look like it's here.

IDictionary<string,short>tableNameList=GetTableNameList();
shorttableIdTest=tableNameList["TEST"];

varfbCommand=newFbCommand("INSERT INTO TEST (INT_FIELD) VALUES (900)",Connection);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

await using

Copy link
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

done

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Does not look like it's here.

if(counter>0)
result.Add(keyValuePair.Key,counter);
}
else
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Add}/{ for consistency sake.

Copy link
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

done

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Does not look like it's here.

@fdcastel
Copy link
Member

@cincuranet it appears that all requested changes have been addressed by@DevM900 (but weren't marked as "resolved").

Could you please review and proceed with the merge?

@cincuranet
Copy link
Member

Not really. Some are still not addressed and going through it again I found some more.

@DevM900DevM900 closed thisNov 5, 2024
@DevM900DevM900 reopened thisNov 5, 2024
IDictionary<short,ulong>readSeqCount=dbInfo.GetReadSeqCount();
IDictionary<short,ulong>readIdxCount=dbInfo.GetReadIdxCount();

varfbCommand=newFbCommand("SELECT MAX(INT_FIELD) FROM TEST",Connection);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Does not look like it's here.

IDictionary<short,ulong>readSeqCount=dbInfo.GetReadSeqCount();
IDictionary<short,ulong>readIdxCount=dbInfo.GetReadIdxCount();

varfbCommand=newFbCommand("INSERT INTO TEST (INT_FIELD) VALUES (900)",Connection);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Does not look like it's here.

IDictionary<string,short>tableNameList=GetTableNameList();
shorttableIdTest=tableNameList["TEST"];

varfbCommand=newFbCommand("INSERT INTO TEST (INT_FIELD) VALUES (900)",Connection);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Does not look like it's here.


privateIDictionary<string,short>GetTableNameList()
{
IDictionary<string,short>result=newDictionary<string,short>();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Does not look like it's here.

}

IDictionary<short,ulong>GetAffectedTables(IDictionary<short,ulong>statisticInfoBefore,IDictionary<short,ulong>statisticInfoAfter)
asyncTask<IDictionary<short,ulong>>GetAffectedTables(IDictionary<short,ulong>statisticInfoBefore,IDictionary<short,ulong>statisticInfoAfter)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Why Task?

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@cincuranetcincuranetcincuranet requested changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@DevM900@fdcastel@cincuranet

[8]ページ先頭

©2009-2025 Movatter.jp