Bug 6333 - MacOS: SQLite that ships doesn't have SQLITE_ENABLE_COLUMN_METADATA set
Summary: MacOS: SQLite that ships doesn't have SQLITE_ENABLE_COLUMN_METADATA set
Status: NEW
Alias: None
Product: Class Libraries
Classification: Mono
Component: System.Data (show other bugs)
Version: unspecified
Hardware: Macintosh Mac OS
: Normal normal
Target Milestone: Untriaged
Assignee: Duncan Mak
URL:
Depends on:
Blocks:
 
Reported: 2012-07-31 00:10 UTC by Brett Michael
Modified: 2013-01-16 09:27 UTC (History)
3 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 6333 on GitHub or Developer Community 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: GitHub Markdown or Developer Community HTML
  • 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:
NEW

Description Brett Michael 2012-07-31 00:10:49 UTC
Hibernate and Mono.Data.Sqlite both need to use the SQLite metadata functions.
However, the version of sqlite shipped with mono doesn't have this enabled.

This means that any application using Mono.Data.Sqlite (which is also shipped with Mono) needs to compile their own version of sqlite.

Can we have this enabled in SQLITE by default?
Comment 1 Zoltan Varga 2012-08-09 00:02:44 UTC
-> class libs.
Comment 2 Miguel de Icaza [MSFT] 2012-08-15 16:32:47 UTC
The problem is MacOS SQLite, we do not ship Sqlite ourselves
Comment 3 Miguel de Icaza [MSFT] 2012-08-17 14:01:02 UTC
Actually, we do ship it.

We are looking at upgrading it.
Comment 4 Brett Michael 2013-01-16 07:19:16 UTC
Any update on this? I'm having to look for alternatives that are pure C# and none of them are that compelling. Hopefully updating the build script to compile SQLite with the SQLITE_ENABLE_COLUMN_METADATA option would be straight forward, and it would make a huge difference to how applications need to be packaged.

I'm happy to have a look at providing a patch myself if someone can point me to where sqlite is compiled/packaged from in the mono source - a quick search didn't yield much, but I'm completely unfamiliar with the source tree.
Comment 5 Miguel de Icaza [MSFT] 2013-01-16 09:27:01 UTC
Look at bockbuild module in github.com/mono