Skip to contentSkip to conversation

sqlite3: Add support for column metadata API,

GIT PULL New Alex J Lennon 2 participants 5 messages Nov 6, 2013

lore
Share & tools
lore
#0 lore raw

I found that Mono.Data.SQlite has a dependency on the column meta-data API, thus enabling this API enables use of Hibernate / Mono with SQLite and no doubt enables other ORMs / utility libraries.

ref: https://bugzilla.xamarin.com/show_bug.cgi?id=6333

The API is present in the used SQLite3 sqlite-autoconf-3080002 source-base. Thus we are enabling pre-existing SQLite support rather than introducing new code.

I am not aware of any issues that enabling this SQLite functionality introduces, other than a slightly increased library size of circa 1.5KB , i.e. coretexa9_vfp_neon i.MX6

- with column meta-data API 610360 libsqlite3.so.0.8.6
- without column meta-data API 608880 libsqlite3.so.0.8.6

The following changes since commit 9f7f7afaa47bc3a058234269bffa55e15558df16:

irda-utils: restart irda daemon correctly (2013-11-01 11:09:03 +0000)

are available in the git repository at:

git://git.yoctoproject.org/poky-contrib ajlennon/sqlite
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=ajlennon/sqlite

Alex J Lennon (2):
sqlite3: Add support for column metadata API, bumped PR
sqlite3: Add support for column metadata API

 meta/recipes-support/sqlite/sqlite3_3080002.bb |    5 +++++
 1 file changed, 5 insertions(+)
Signature · 1 line
1.7.9.5
#1 lore raw

PATCH 1/2 sqlite3: Add support for column metadata API, bumped PR

---
 meta/recipes-support/sqlite/sqlite3_3080002.bb |    7 +++++++
 1 file changed, 7 insertions(+)
meta/recipes-support/sqlite/sqlite3_3080002.bb +7 -0
index 91dc6dd..e54f108 100644
@@ -2,9 +2,16 @@ require sqlite3.inc
 
 LIC_FILES_CHKSUM = "file://sqlite3.h;endline=11;md5=65f0a57ca6928710b418c094b3570bb0"
 
+PR = "r1"
+
 SRC_URI = "http://www.sqlite.org/2013/sqlite-autoconf-${PV}.tar.gz"
 
 SRC_URI[md5sum] = "6d6cc639a4da04fbbdda7b1a1a01b386"
 SRC_URI[sha256sum] = "fca3a0a12f94dc92a6d9e700c3f6cab6cd4e79214bd7b6f13717a10f4bcfddb2"
 
 S = "${WORKDIR}/sqlite-autoconf-${PV}"
+
+# Provide column meta-data API
+BUILD_CFLAGS += "-DSQLITE_ENABLE_COLUMN_METADATA"
+TARGET_CFLAGS += "-DSQLITE_ENABLE_COLUMN_METADATA"
+
Signature · 1 line
1.7.9.5
#2 lore raw

PATCH 2/2 sqlite3: Add support for column metadata API

In reply to Alex J Lennon
---
 meta/recipes-support/sqlite/sqlite3_3080002.bb |    2 --
 1 file changed, 2 deletions(-)
meta/recipes-support/sqlite/sqlite3_3080002.bb +0 -2
index e54f108..18ff292 100644
@@ -2,8 +2,6 @@ require sqlite3.inc
 
 LIC_FILES_CHKSUM = "file://sqlite3.h;endline=11;md5=65f0a57ca6928710b418c094b3570bb0"
 
-PR = "r1"
-
 SRC_URI = "http://www.sqlite.org/2013/sqlite-autoconf-${PV}.tar.gz"
 
 SRC_URI[md5sum] = "6d6cc639a4da04fbbdda7b1a1a01b386"
Signature · 1 line
1.7.9.5
#3 lore raw
In reply to Alex J Lennon
Quoted 11 lines · Alex J Lennon

I found that Mono.Data.SQlite has a dependency on the column meta-data API, thus enabling this API enables use of Hibernate / Mono with SQLite and no doubt enables other ORMs / utility libraries.

ref: https://bugzilla.xamarin.com/show_bug.cgi?id=6333

The API is present in the used SQLite3 sqlite-autoconf-3080002 source-base. Thus we are enabling pre-existing SQLite support rather than introducing new code.

I am not aware of any issues that enabling this SQLite functionality introduces, other than a slightly increased library size of circa 1.5KB , i.e. coretexa9_vfp_neon i.MX6

- with column meta-data API 610360 libsqlite3.so.0.8.6
- without column meta-data API 608880 libsqlite3.so.0.8.6

this message should realy be part of the commit not in the cover letter,
also please send this to the [email protected] list

Quoted 4 lines

The following changes since commit 9f7f7afaa47bc3a058234269bffa55e15558df16:

   irda-utils: restart irda daemon correctly (2013-11-01 11:09:03 +0000)
Quoted 9 lines

are available in the git repository at:

git://git.yoctoproject.org/poky-contrib ajlennon/sqlite
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=ajlennon/sqlite

Alex J Lennon (2):
sqlite3: Add support for column metadata API, bumped PR
sqlite3: Add support for column metadata API

you can sqash these two together please

thanks

Sau!

Quoted 3 lines
  meta/recipes-support/sqlite/sqlite3_3080002.bb |    5 +++++
  1 file changed, 5 insertions(+)
#4 lore raw
Quoted 23 lines · Saul Wold
Quoted 11 lines · Alex J Lennon

I found that Mono.Data.SQlite has a dependency on the column meta-data API, thus enabling this API enables use of Hibernate / Mono with SQLite and no doubt enables other ORMs / utility libraries.

ref: https://bugzilla.xamarin.com/show_bug.cgi?id=6333

The API is present in the used SQLite3 sqlite-autoconf-3080002 source-base. Thus we are enabling pre-existing SQLite support rather than introducing new code.

I am not aware of any issues that enabling this SQLite functionality introduces, other than a slightly increased library size of circa 1.5KB , i.e. coretexa9_vfp_neon i.MX6

- with column meta-data API 610360 libsqlite3.so.0.8.6
- without column meta-data API 608880 libsqlite3.so.0.8.6

this message should realy be part of the commit not in the cover letter, also please send this to the [email protected] list

Quoted 9 lines

The following changes since commit 9f7f7afaa47bc3a058234269bffa55e15558df16:

   irda-utils: restart irda daemon correctly (2013-11-01 11:09:03 +0000)

are available in the git repository at:

git://git.yoctoproject.org/poky-contrib ajlennon/sqlite
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=ajlennon/sqlite

Quoted 9 lines
Quoted 4 lines

Alex J Lennon (2):
sqlite3: Add support for column metadata API, bumped PR
sqlite3: Add support for column metadata API

you can sqash these two together please

thanks

Apologies. I'm still getting to grips with this. I hope the latest request is as required.

BR, Alex

Quoted 7 lines

Sau!

Quoted 3 lines

meta/recipes-support/sqlite/sqlite3_3080002.bb | 5 +++++

  1 file changed, 5 insertions(+)
Signature · 10 lines
Dynamic Devices Ltd <http://www.dynamicdevices.co.uk/>

Alex J Lennon / Director
1 Queensway, Liverpool L22 4RA

mobile: +44 (0)7956 668178

Linkedin <http://www.linkedin.com/in/alexjlennon> Skype <skype:alexjlennon?add>

This e-mail message may contain confidential or legally privileged information and is intended only for the use of the intended recipient(s). Any unauthorized disclosure, dissemination, distribution, copying or the taking of any action in reliance on the information herein is prohibited. E-mails are not secure and cannot be guaranteed to be error free as they can be intercepted, amended, or contain viruses. Anyone who communicates with us by e-mail is deemed to have accepted these risks. Company Name is not responsible for errors or omissions in this message and denies any responsibility for any damage arising from the use of e-mail. Any opinion and other statement contained in this message and any attachment are solely those of the author and do not necessarily represent those of the company.