Import sqlite3 3.8.9

This commit is contained in:
Baptiste Daroussin 2015-05-01 21:53:55 +00:00
parent c7f18236d6
commit 4c9d048ebd
6 changed files with 7231 additions and 3623 deletions

20
configure vendored
View File

@ -1,6 +1,6 @@
#! /bin/sh #! /bin/sh
# Guess values for system-dependent variables and create Makefiles. # Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.69 for sqlite 3.8.7.2. # Generated by GNU Autoconf 2.69 for sqlite 3.8.9.
# #
# Report bugs to <http://www.sqlite.org>. # Report bugs to <http://www.sqlite.org>.
# #
@ -590,8 +590,8 @@ MAKEFLAGS=
# Identity of this package. # Identity of this package.
PACKAGE_NAME='sqlite' PACKAGE_NAME='sqlite'
PACKAGE_TARNAME='sqlite' PACKAGE_TARNAME='sqlite'
PACKAGE_VERSION='3.8.7.2' PACKAGE_VERSION='3.8.9'
PACKAGE_STRING='sqlite 3.8.7.2' PACKAGE_STRING='sqlite 3.8.9'
PACKAGE_BUGREPORT='http://www.sqlite.org' PACKAGE_BUGREPORT='http://www.sqlite.org'
PACKAGE_URL='' PACKAGE_URL=''
@ -1313,7 +1313,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing. # Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh. # This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF cat <<_ACEOF
\`configure' configures sqlite 3.8.7.2 to adapt to many kinds of systems. \`configure' configures sqlite 3.8.9 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]... Usage: $0 [OPTION]... [VAR=VALUE]...
@ -1383,7 +1383,7 @@ fi
if test -n "$ac_init_help"; then if test -n "$ac_init_help"; then
case $ac_init_help in case $ac_init_help in
short | recursive ) echo "Configuration of sqlite 3.8.7.2:";; short | recursive ) echo "Configuration of sqlite 3.8.9:";;
esac esac
cat <<\_ACEOF cat <<\_ACEOF
@ -1489,7 +1489,7 @@ fi
test -n "$ac_init_help" && exit $ac_status test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then if $ac_init_version; then
cat <<\_ACEOF cat <<\_ACEOF
sqlite configure 3.8.7.2 sqlite configure 3.8.9
generated by GNU Autoconf 2.69 generated by GNU Autoconf 2.69
Copyright (C) 2012 Free Software Foundation, Inc. Copyright (C) 2012 Free Software Foundation, Inc.
@ -1813,7 +1813,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake. running configure, to aid debugging if configure makes a mistake.
It was created by sqlite $as_me 3.8.7.2, which was It was created by sqlite $as_me 3.8.9, which was
generated by GNU Autoconf 2.69. Invocation command line was generated by GNU Autoconf 2.69. Invocation command line was
$ $0 $@ $ $0 $@
@ -2631,7 +2631,7 @@ fi
# Define the identity of the package. # Define the identity of the package.
PACKAGE='sqlite' PACKAGE='sqlite'
VERSION='3.8.7.2' VERSION='3.8.9'
cat >>confdefs.h <<_ACEOF cat >>confdefs.h <<_ACEOF
@ -13196,7 +13196,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# report actual input values of CONFIG_FILES etc. instead of their # report actual input values of CONFIG_FILES etc. instead of their
# values after options handling. # values after options handling.
ac_log=" ac_log="
This file was extended by sqlite $as_me 3.8.7.2, which was This file was extended by sqlite $as_me 3.8.9, which was
generated by GNU Autoconf 2.69. Invocation command line was generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES = $CONFIG_FILES CONFIG_FILES = $CONFIG_FILES
@ -13253,7 +13253,7 @@ _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\ ac_cs_version="\\
sqlite config.status 3.8.7.2 sqlite config.status 3.8.9
configured by $0, generated by GNU Autoconf 2.69, configured by $0, generated by GNU Autoconf 2.69,
with options \\"\$ac_cs_config\\" with options \\"\$ac_cs_config\\"

View File

@ -8,7 +8,7 @@
# #
AC_PREREQ(2.61) AC_PREREQ(2.61)
AC_INIT(sqlite, 3.8.7.2, http://www.sqlite.org) AC_INIT(sqlite, 3.8.9, http://www.sqlite.org)
AC_CONFIG_SRCDIR([sqlite3.c]) AC_CONFIG_SRCDIR([sqlite3.c])
# Use automake. # Use automake.

928
shell.c

File diff suppressed because it is too large Load Diff

View File

@ -2,7 +2,7 @@
.\" First parameter, NAME, should be all caps .\" First parameter, NAME, should be all caps
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
.\" other parameters are allowed: see man(7), man(1) .\" other parameters are allowed: see man(7), man(1)
.TH SQLITE3 1 "Mon Jan 31 11:14:00 2014" .TH SQLITE3 1 "Fri Oct 31 10:41:31 EDT 2014"
.\" Please adjust this date whenever revising the manpage. .\" Please adjust this date whenever revising the manpage.
.\" .\"
.\" Some roff macros, for reference: .\" Some roff macros, for reference:
@ -49,7 +49,7 @@ a table named "memos" and insert a couple of records into that table:
$ $
.B sqlite3 mydata.db .B sqlite3 mydata.db
.br .br
SQLite version 3.8.3 SQLite version 3.8.8
.br .br
Enter ".help" for instructions Enter ".help" for instructions
.br .br
@ -107,26 +107,29 @@ the '.help' command. For example:
sqlite> sqlite>
.B .help .B .help
.nf .nf
.cc | .tr %.
.backup ?DB? FILE Backup DB (default "main") to FILE %backup ?DB? FILE Backup DB (default "main") to FILE
.bail ON|OFF Stop after hitting an error. Default OFF %bail on|off Stop after hitting an error. Default OFF
.databases List names and files of attached databases %clone NEWDB Clone data into NEWDB from the existing database
.dump ?TABLE? ... Dump the database in an SQL text format %databases List names and files of attached databases
%dump ?TABLE? ... Dump the database in an SQL text format
If TABLE specified, only dump tables matching If TABLE specified, only dump tables matching
LIKE pattern TABLE. LIKE pattern TABLE.
.echo ON|OFF Turn command echo on or off %echo on|off Turn command echo on or off
.exit Exit this program %eqp on|off Enable or disable automatic EXPLAIN QUERY PLAN
.explain ?ON|OFF? Turn output mode suitable for EXPLAIN on or off. %exit Exit this program
%explain ?on|off? Turn output mode suitable for EXPLAIN on or off.
With no args, it turns EXPLAIN on. With no args, it turns EXPLAIN on.
.header(s) ON|OFF Turn display of headers on or off %fullschema Show schema and the content of sqlite_stat tables
.help Show this message %headers on|off Turn display of headers on or off
.import FILE TABLE Import data from FILE into TABLE %help Show this message
.indices ?TABLE? Show names of all indices %import FILE TABLE Import data from FILE into TABLE
%indices ?TABLE? Show names of all indices
If TABLE specified, only show indices for tables If TABLE specified, only show indices for tables
matching LIKE pattern TABLE. matching LIKE pattern TABLE.
.load FILE ?ENTRY? Load an extension library %load FILE ?ENTRY? Load an extension library
.log FILE|off Turn logging on or off. FILE can be stderr/stdout %log FILE|off Turn logging on or off. FILE can be stderr/stdout
.mode MODE ?TABLE? Set output mode where MODE is one of: %mode MODE ?TABLE? Set output mode where MODE is one of:
csv Comma-separated values csv Comma-separated values
column Left-aligned columns. (See .width) column Left-aligned columns. (See .width)
html HTML <table> code html HTML <table> code
@ -135,31 +138,35 @@ sqlite>
list Values delimited by .separator string list Values delimited by .separator string
tabs Tab-separated values tabs Tab-separated values
tcl TCL list elements tcl TCL list elements
.nullvalue STRING Use STRING in place of NULL values %nullvalue STRING Use STRING in place of NULL values
.open ?FILENAME? Close existing database and reopen FILENAME %once FILENAME Output for the next SQL command only to FILENAME
.output FILENAME Send output to FILENAME %open ?FILENAME? Close existing database and reopen FILENAME
.output stdout Send output to the screen %output ?FILENAME? Send output to FILENAME or stdout
.print STRING... Print literal STRING %print STRING... Print literal STRING
.prompt MAIN CONTINUE Replace the standard prompts %prompt MAIN CONTINUE Replace the standard prompts
.quit Exit this program %quit Exit this program
.read FILENAME Execute SQL in FILENAME %read FILENAME Execute SQL in FILENAME
.restore ?DB? FILE Restore content of DB (default "main") from FILE %restore ?DB? FILE Restore content of DB (default "main") from FILE
.schema ?TABLE? Show the CREATE statements %save FILE Write in-memory database into FILE
%schema ?TABLE? Show the CREATE statements
If TABLE specified, only show tables matching If TABLE specified, only show tables matching
LIKE pattern TABLE. LIKE pattern TABLE.
.separator STRING Change separator used by output mode and .import %separator STRING ?NL? Change separator used by output mode and .import
.show Show the current values for various settings NL is the end-of-line mark for CSV
.stats ON|OFF Turn stats on or off %shell CMD ARGS... Run CMD ARGS... in a system shell
.tables ?TABLE? List names of tables %show Show the current values for various settings
%stats on|off Turn stats on or off
%system CMD ARGS... Run CMD ARGS... in a system shell
%tables ?TABLE? List names of tables
If TABLE specified, only list tables matching If TABLE specified, only list tables matching
LIKE pattern TABLE. LIKE pattern TABLE.
.timeout MS Try opening locked tables for MS milliseconds %timeout MS Try opening locked tables for MS milliseconds
.trace FILE|off Output each SQL statement as it is run %timer on|off Turn SQL timer on or off
.vfsname ?AUX? Print the name of the VFS stack %trace FILE|off Output each SQL statement as it is run
.width NUM1 NUM2 ... Set column widths for "column" mode %vfsname ?AUX? Print the name of the VFS stack
.timer ON|OFF Turn the CPU timer measurement on or off %width NUM1 NUM2 ... Set column widths for "column" mode
Negative values right-justify
sqlite> sqlite>
|cc .
.sp .sp
.fi .fi
.SH OPTIONS .SH OPTIONS
@ -269,7 +276,7 @@ o If the -init option is present, the specified file is processed.
o All other command line options are processed. o All other command line options are processed.
.SH SEE ALSO .SH SEE ALSO
http://www.sqlite.org/ http://www.sqlite.org/cli.html
.br .br
The sqlite3-doc package. The sqlite3-doc package.
.SH AUTHOR .SH AUTHOR

8433
sqlite3.c

File diff suppressed because it is too large Load Diff

1388
sqlite3.h

File diff suppressed because it is too large Load Diff