Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CBL-5024: Prevent native crash referencing Result after ResultSet.close() #224

Merged
merged 2 commits into from
Nov 2, 2023

Conversation

bmeike
Copy link
Contributor

@bmeike bmeike commented Nov 1, 2023

Also fix up some logging domain stuff, per .NET

@bmeike bmeike requested a review from pasin November 1, 2023 18:46
*
* A Result may be referenced <b>only</b> while the ResultSet that contains it is open.
* An Attempt to reference a Result after calling ResultSet.close on the ResultSet that
* contains it will throw and IllegalStateException
Copy link
Contributor

Choose a reason for hiding this comment

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

Typo : throw and

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixed

public static final String CHANGES = "Changes";
public static final String DATABASE = "DB";
public static final String ENUM = "Enum";
Copy link
Contributor

@pasin pasin Nov 2, 2023

Choose a reason for hiding this comment

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

Does .NET also enable these 3 new log domains or just define them for domain mapping? We may need to do the same for iOS.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I am not sure.... but I think not.

@bmeike bmeike merged commit 73045ea into master Nov 2, 2023
@bmeike bmeike deleted the pr/CBL-5024 branch November 30, 2023 17:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants