Bug 60465 - DatabaseOpenFlags is missing #ENABLE_WRITE_AHEAD_LOGGING enum value (0x20000000)
Summary: DatabaseOpenFlags is missing #ENABLE_WRITE_AHEAD_LOGGING enum value (0x20000000)
Status: CONFIRMED
Alias: None
Product: Android
Classification: Xamarin
Component: General ()
Version: 8.1 (15.5)
Hardware: Macintosh Mac OS
: Normal normal
Target Milestone: 15.7
Assignee: Atsushi Eno
URL:
Depends on:
Blocks:
 
Reported: 2017-10-31 22:53 UTC by RobertN
Modified: 2018-01-11 18:38 UTC (History)
5 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report for Bug 60465 on Developer Community or GitHub if you have new information to add and do not yet see a matching new report.

If the latest results still closely match this report, you can use the original description:

  • Export the original title and description: Developer Community HTML or GitHub Markdown
  • Copy the title and description into the new report. Adjust them to be up-to-date if needed.
  • Add your new information.

In special cases on GitHub you might also want the comments: GitHub Markdown with public comments

Related Links:
Status:
CONFIRMED

Description RobertN 2017-10-31 22:53:46 UTC
DatabaseOpenFlags (namespace Android.Database.Sqlite) is missing ENABLE_WRITE_AHEAD_LOGGING enum value (0x20000000) 

From the `enum-conversion-mappings.xml` file:

    <map package='android.database.sqlite' class='SQLiteDatabase' fields='OPEN_READWRITE OPEN_READONLY CREATE_IF_NECESSARY NO_LOCALIZED_COLLATORS' enum-name='DatabaseOpenFlags' is-transient='false' />

Re: [enum-conversion-mappings.xml Line 717] 

https://github.com/xamarin/xamarin-android/blob/e33eb53407bc85f0b9a0f6c41d9ec009371eedcc/build-tools/enumification-helpers/enum-conversion-mappings.xml#L717

Added API-16 : https://developer.android.com/reference/android/database/sqlite/SQLiteDatabase.html#ENABLE_WRITE_AHEAD_LOGGING

Ref; https://stackoverflow.com/questions/47045012/missing-enable-write-ahead-logging-value-in-databaseopenflags-for-opendatabase-m
Comment 1 Jon Douglas [MSFT] 2017-11-09 22:21:06 UTC
I was able to CONFIRM this behavior based on the latest 15.4 and 15.5 builds based on the initial report:

https://bugzilla.xamarin.com/show_bug.cgi?id=60465#c0

Setting milestone for 15.6 for the time being.