rt-thread-official/components/external/SQLite-3.8.1/SQLiteLib
geniusgogo 9326719a12 move SQLiteLib/SConscript file to SQLite-3.8.1/SConscript 2013-11-30 15:00:24 +08:00
..
test rename sqlite directory to SQLite-3.8.1/SQLiteLib 2013-11-30 15:00:23 +08:00
README move SQLiteLib/SConscript file to SQLite-3.8.1/SConscript 2013-11-30 15:00:24 +08:00
config.h rename sqlite directory to SQLite-3.8.1/SQLiteLib 2013-11-30 15:00:23 +08:00
shell.c rename sqlite directory to SQLite-3.8.1/SQLiteLib 2013-11-30 15:00:23 +08:00
sqlite3.c rename sqlite directory to SQLite-3.8.1/SQLiteLib 2013-11-30 15:00:23 +08:00
sqlite3.h rename sqlite directory to SQLite-3.8.1/SQLiteLib 2013-11-30 15:00:23 +08:00
sqlite3ext.h rename sqlite directory to SQLite-3.8.1/SQLiteLib 2013-11-30 15:00:23 +08:00

README

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# SQLite on RT-Thread

## 简介
初始版本基于SQLite 3.8.1版本,使用混合单文件结构源代码

测试方法:
1.   
    在rtconfig.h中定义一下宏,并打开newlib组件
    /*
    * SQLite compile macro
    */
    #define RT_USING_SQLITE
    #define SQLITE_MINIMUM_FILE_DESCRIPTOR  0
    #define SQLITE_OMIT_LOAD_EXTENSION 1 
    #define SQLITE_OMIT_WAL 
    #define SQLITE_RTTHREAD_NO_WIDE 1
    #define SQLITE_ENABLE_LOCKING_STYLE 0 
    #define SQLITE_DISABLE_LOCKING_STYLE 1
    #define SQLITE_TEMP_STORE 1
    #define SQLITE_THREADSAFE 1
    #define HAVE_READLINE 0 
    #define NDEBUG
    #define _HAVE_SQLITE_CONFIG_H 
    #define BUILD_sqlite
    #define SQLITE_OS_OTHER 1 
    #define SQLITE_OS_RTT 1
2.
    用test目录下的test10.c来进行测试.
    推荐用mini2440bsp因为板子的ram较大。

注意shell.c还没有移植的。请不要使用。