Commit graph

16 commits

Author SHA1 Message Date
khorben
89e9aae987 Avoid a warning while generating config.h
No functional change intended.
2017-04-16 20:27:09 +00:00
jperkin
99cd40e1ec Honour LDFLAGS, fixes build on cwrappers with non-builtins. 2015-03-16 11:56:32 +00:00
jperkin
9ccfe800ad Clean up out-of-srcdir build handling. 2013-01-04 13:33:42 +00:00
drochner
2d29fff048 update to 2.8.17
bugfix:
That bug might possibly cause database corruption if a large
INSERT or UPDATE statement within a multi-statement transaction fails
due to a uniqueness constraint but the containing transaction commits.
2009-07-22 16:37:26 +00:00
wiz
0380c7282b Update to 2.8.16:
2005 February 15 (2.8.16)

* Fix a bug that can lead to database corruption if there are two open connections
  to the same database and one connection does a VACUUM and the second makes some
  change to the database.
* Correctly handle quoted names in CREATE INDEX statements.
* Fix a naming conflict between sqlite.h and sqlite3.h.
* Avoid excess heap usage when copying expressions.
* Other minor bug fixes.
2005-02-24 16:05:25 +00:00
salo
cbd502dc97 PKGREVISION++
Point to correct location of VERSION file so we save the correct version
into pkgconfig file.
Addresses PR pkg/26875 by Ian Zagorskih.
2004-09-08 15:55:48 +00:00
jlam
73e8702339 Update databases/sqlite to 2.8.15. This is a bug-fix maintenance
release over version 2.8.14 that fixes some memory allocation and
quoting problems.
2004-08-04 19:59:58 +00:00
snj
b5b942e431 Update to sqlite-2.8.13. Closes PR pkg/24660.
FreeBSD 4 portability hint from Michal Pasternak.

Some of the changes since 2.8.5 include:
* Refactor parts of the code in order to make the code footprint
  smaller.  The code is now also a little bit faster.
* The built-in min() and max() functions now honor the difference
  between NUMERIC and TEXT datatypes.
* New HH:MM:SS modifier to the built-in date/time functions.
* Add function prototypes for the database encryption API.
* Fix a bug that might corrupt the rollback journal if a power failure or
  external program halt occurs in the middle of a COMMIT.
* Reduce the size and increase the speed of various modules.
* Fix a potential database corruption problem on Unix.
* Fix a 32-bit integer overflow problem that could result in corrupt
  indices in a database if large negative numbers (less than -2147483648)
  were inserted into a indexed numeric column.
* Fix a locking problem on multi-threaded Linux implementations.
* Fix a critical bug introduced in 2.8.0 which could cause database corruption.
* The VACUUM command now works with the non-callback API
* If the name of the database is an empty string, open a new database in a
  temporary file that is automatically deleted when the database is
  closed.
* Performance enhancements in the lemon-generated parser
* Documentation updates and typo fixes
* Removed support for the Oracle8 outer join syntax.
* Allow GLOB and LIKE operators to work as functions.
* Make sure the journal file directory entry is committed to disk before
  writing the database file.
2004-03-31 05:50:17 +00:00
cjep
8a459c538f Further changes for FreeBSD support from Michal Pasternak 2003-12-30 14:41:09 +00:00
cjep
fe4f3139e2 Add #include's necessary for this to build on FreeBSD.
From Michal Pasternak in PR#23828.
2003-12-29 20:03:31 +00:00
tsarna
55d2128ca3 Update sqlite to 2.8.3. Major relevant changes:
2003 June 4 (2.8.3)
      -	Fix a problem that will corrupt the indices on a table if you
	do an INSERT OR REPLACE or an UPDATE OR REPLACE on a table that
	contains an INTEGER PRIMARY KEY plus one or more indices.
      - Add the ability for INSERT and UPDATE statements to refer to
	the "rowid" (or "_rowid_" or "oid") columns.
      - Other important bug fixes

2003 May 17 (2.8.2)
      - Fix a problem that will corrupt the database file if you drop a
	table from the main database that has a TEMP index.

2003 May 16 (2.8.1)
      - Reactivated the VACUUM command that reclaims unused disk space
	in a database file.
      - Added the ATTACH and DETACH commands to allow interacting with
	multiple database files at the same time.
      - Added support for TEMP triggers and indices.
      - Added support for in-memory databases.
      - Removed the experimental sqlite_open_aux_file(). Its function
	is subsumed in the new ATTACH command.
      - The precedence order for ON CONFLICT clauses was changed so
	that ON CONFLICT clauses on BEGIN statements have a higher
	precedence than ON CONFLICT clauses on constraints.
      - Many, many bug fixes and compatibility enhancements.
2003-06-25 19:24:21 +00:00
reinoud
1aef1825b8 Update sqlite package to version 2.1.4 (2001-12-04) incorporating lockup
bugs removal, fixing the behaviour of comparison operators so that they are
consistent with the order of entries in an index, correct handling of
integers in SQL expressions that are larger than what can be represented by
the machine integer and locking protocol fixes.

The author also incorporated my suggestions after the messy LP64 patches I
made; its now a lot more clean allthough there are still a few warnings but
they are checked and OK.
2001-12-05 02:04:04 +00:00
reinoud
df59114aa4 Update SQLite package to version 2.1.0 from 2.0.5 2001-11-19 00:41:06 +00:00
reinoud
11c0beb7b1 Hmm... shouldn't have forgotten to ad the patches themselves.... (AHUM) 2001-10-20 18:52:38 +00:00
reinoud
e7f271ddfa Patch to make sqlite work on LP64 machines. I tried to make the patch as
less invasive as posible without rewriting stuff.

The main problems were the assumption that a pointer and an int had the
same size. Also there were strange casts near calculations that were not
nessisary.
2001-10-20 18:51:37 +00:00
jlam
1171e3a7ee databases/sqlite: SQL Database Engine In A C Library
SQLite is a C library that implements an SQL database engine. Programs
that link with the SQLite library can have SQL database access without
running a separate RDBMS process. The distribution comes with a standalone
command-line access program (sqlite) that can be used to administer an
SQLite database and which serves as an example of how to use the SQLite
library.

SQLite is not a client library used to connect to a big database server.
SQLite is the server. The SQLite library reads and writes directly to and
from the database files on disk.
2001-10-16 16:20:08 +00:00