• Stars
    star
    334
  • Rank 126,264 (Top 3 %)
  • Language
    C
  • Created over 6 years ago
  • Updated over 6 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

SQLite 2.5.0 fixed version for modern GCC, which is perfect for code reading, database design learning
This project is forked from 2.5.0 SQLite, and fixed for modern C compilers like GCC.

Earlier SQLite is perfect source for code reading, and for database design and implementation.
For SQLite 2.5.0, it has a core code base less than 20000 LOC in ANSI C which is easy to understand.

I digged into historical versions of SQLite, and fixed this version against GCC on MacOS 10.13 and Debian 8.

$sloccount SQLite-2.5.0-for-code-reading
SLOC	Directory	SLOC-by-Language (Sorted)
20914   src_top_dir     ansic=19895,yacc=584,tcl=435
6831    top_dir         sh=6831
6363    www             tcl=6363
4051    tool            ansic=3606,tcl=372,awk=73
156     test            tcl=156
0       doc             (none)


    SQLite: An SQL Database Engine in a C Library

To compile the project, first create a directory in which to place
the build products.  It is recommended, but not required, that the
build directory be separate from the source directory.  Cd into the
build directory and then from the build directory run the configure
script found at the root of the source tree.  Then run "make".

For example:

    tar xzf sqlite.tar.gz    ;#  Unpack the source tree into "sqlite"
    mkdir bld                ;#  Build will occur in a sibling directory
    cd bld                   ;#  Change to the build directory
    ../sqlite/configure      ;#  Run the configure script
    make                     ;#  Run the makefile.

The configure script uses autoconf 2.50 and libtool.  If the configure
script does not work out for you, there is a generic makefile named
"Makefile.template" in the top directory of the source tree that you
can copy and edit to suite your needs.  Comments on the generic makefile
show what changes are needed.

The windows binaries on the website are created using MinGW32 configured
as a cross-compiler running under Linux.  For details, see the ./publish.sh
script at the top-level of the source tree.

Contacts:

   http://www.hwaci.com/sw/sqlite/
   http://groups.yahoo.com/group/sqlite/
   [email protected]

More Repositories

1

architecture.of.internet-product

互联网公司技术架构,微信/淘宝/微博/腾讯/阿里/美团点评/百度/OpenAI/Google/Facebook/Amazon/eBay的架构,欢迎PR补充
HTML
20,005
star
2

architecture.taobao-alibaba

互联网公司架构: 淘宝技术架构,阿里巴巴技术架构
2,416
star
3

architecture.wechat-tencent

互联网公司架构: 微信技术架构, 腾讯技术架构
1,605
star
4

architecture.meituan-dianping

互联网公司架构: 美团点评技术架构
706
star
5

awesome-assistant-api

Try openai assistant api apps on Google Colab for free. Awesome assistant API Demos!
Jupyter Notebook
204
star
6

youdao-wordlist-alfredworkflow

有道词典的alfredworkflow,可以添加所查询的词语到有道的新词表中
PHP
14
star
7

zeromq-demo

python zeromq demo
Python
9
star
8

pycon2016-django

Pycon 2016 Beijing Django Sharing
Python
7
star
9

ly-crawler

ly.com crawler
Python
6
star
10

road-to-soft-design

软件设计之路:一系列的软件设计实践课题
3
star
11

remote-voting

A voting web application for remote meeting. Initial code by ChatGPT/GPT-engineer, fixed by ChatGPT and me.
Python
3
star
12

programming-tips

programming tips
Python
3
star
13

llm-practical-test

一个不同 SOTA 开源模型在不同的日常任务(主要为代码生成)效果上的测试。
Python
3
star
14

tantivy-cpp-lib

tantivy static library for calling in c++
Rust
2
star
15

openrce-snippets

Automatically exported from code.google.com/p/openrce-snippets
Python
2
star
16

rust-quick-start

rust quick start with examples
Rust
2
star
17

davideuler.github.com

Ruby
1
star
18

ontl

Automatically exported from code.google.com/p/ontl
C++
1
star
19

rust-lib-via-cpp

Demo to call rust library in cpp project
Rust
1
star
20

xxhash

Automatically exported from code.google.com/p/xxhash
C
1
star
21

apps-for-android

Automatically exported from code.google.com/p/apps-for-android
Java
1
star
22

cpp-btree

Automatically exported from code.google.com/p/cpp-btree
C++
1
star
23

weishuku

微书库
Java
1
star
24

chnroutes

Automatically exported from code.google.com/p/chnroutes
Python
1
star
25

protobuf-net

Automatically exported from code.google.com/p/protobuf-net
C#
1
star
26

tomato-autovpn

Automatically exported from code.google.com/p/tomato-autovpn
Shell
1
star