Skip to content

Commit

Permalink
Add github issue in comments
Browse files Browse the repository at this point in the history
  • Loading branch information
LZRS committed Jul 22, 2024
1 parent 21cf09a commit 507e7f9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4088,6 +4088,7 @@ class DatabaseImplTest {
assertThat(searchedObservations[0].logicalId).isEqualTo(locallyCreatedObservationResourceId)
}

// https://github.com/google/android-fhir/issues/2559
@Test
fun getLocalChangeResourceReferences_shouldSafelyReturnReferencesAboveSQLiteInOpLimit() =
runBlocking {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,7 @@ class LocalChangeDaoTest {
.isEqualTo(practitionerReference)
}

// https://github.com/google/android-fhir/issues/2559
@Test
fun updateResourceIdAndReferences_shouldSafelyUpdateLocalChangesReferencesAboveSQLiteInOpLimit() =
runBlocking {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,8 @@ internal abstract class LocalChangeDao {

/**
* Represents SQLite limit on the size of parameters that can be passed in an IN(..) query See
* https://issuetracker.google.com/issues/192284727 See https://www.sqlite.org/limits.html
* https://issuetracker.google.com/issues/192284727 See https://www.sqlite.org/limits.html See
* https://github.com/google/android-fhir/issues/2559
*/
const val SQLITE_LIMIT_MAX_VARIABLE_NUMBER = 999
}
Expand Down

0 comments on commit 507e7f9

Please sign in to comment.