SQLite Android Bindings
Check-in [b8ff3a7d22]
Not logged in

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Define HAVE_USLEEP to avoid 1 second delays when sleep() is called. Cherrypick of [efde9e0e44].
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | api-level-9
Files: files | file ages | folders
SHA1: b8ff3a7d22d99fae36bbadb407bd9efd110d8c5f
User & Date: dan 2017-05-01 16:10:11
Context
2017-05-02
06:27
Fix remnant API 11 code and remove unused cruft from DatabaseUtils check-in: dafd530d60 user: pjw tags: api-level-9
2017-05-01
16:10
Define HAVE_USLEEP to avoid 1 second delays when sleep() is called. Cherrypick of [efde9e0e44]. check-in: b8ff3a7d22 user: dan tags: api-level-9
2017-04-26
07:11
Changes to build to use Android Studio ndk build support. check-in: 0f8ab794cf user: pjw tags: api-level-9
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to sqlite3/src/main/jni/sqlite/Android.mk.

1
2
3
4
5
6



7
8
9
10
11
12
13

LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)

# If using SEE, uncomment the following:
# LOCAL_CFLAGS += -DSQLITE_HAS_CODEC




# This is important - it causes SQLite to use memory for temp files. Since 
# Android has no globally writable temp directory, if this is not defined the
# application throws an exception when it tries to create a temp file.
#
LOCAL_CFLAGS += -DSQLITE_TEMP_STORE=3
LOCAL_CFLAGS += -DSQLITE_ENABLE_JSON1 






>
>
>







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)

# If using SEE, uncomment the following:
# LOCAL_CFLAGS += -DSQLITE_HAS_CODEC

#Define HAVE_USLEEP, otherwise ALL sleep() calls take at least 1000ms
LOCAL_CFLAGS += -DHAVE_USLEEP=1

# This is important - it causes SQLite to use memory for temp files. Since 
# Android has no globally writable temp directory, if this is not defined the
# application throws an exception when it tries to create a temp file.
#
LOCAL_CFLAGS += -DSQLITE_TEMP_STORE=3
LOCAL_CFLAGS += -DSQLITE_ENABLE_JSON1