Commit graph

41 commits

Author SHA1 Message Date
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
agc
671d62d2e2 Add RMD160 digests in addition to SHA1 ones. 2005-02-23 16:33:05 +00:00
tv
c487cb967a Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10
in the process.  (More information on tech-pkg.)

Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.

Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
2004-10-03 00:12:51 +00:00
jlam
1a280185e1 Mechanical changes to package PLISTs to make use of LIBTOOLIZE_PLIST.
All library names listed by *.la files no longer need to be listed
in the PLIST, e.g., instead of:

	lib/libfoo.a
	lib/libfoo.la
	lib/libfoo.so
	lib/libfoo.so.0
	lib/libfoo.so.0.1

one simply needs:

	lib/libfoo.la

and bsd.pkg.mk will automatically ensure that the additional library
names are listed in the installed package +CONTENTS file.

Also make LIBTOOLIZE_PLIST default to "yes".
2004-09-22 08:09:14 +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
drochner
eadd5450b2 update to 2.8.14
changes:
Fix the min() and max() optimizer so that it works when the FROM clause
 consists of a subquery.
Ignore extra whitespace at the end of of "." commands in the shell.
Bundle sqlite_encode_binary() and sqlite_decode_binary() with the library.
The TEMP_STORE and DEFAULT_TEMP_STORE pragmas now work.
Code changes to compile cleanly using OpenWatcom.
Fix VDBE stack overflow problems with INSTEAD OF triggers and NULLs in
 IN operators.
Add the global variable sqlite_temp_directory which if set defines
the directory in which temporary files are stored.
sqlite_interrupt() plays well with VACUUM.
Other minor bug fixes.
2004-07-22 17:43:23 +00:00
pooka
ec4b5fca3f install manual page 2004-06-30 08:37:11 +00:00
jlam
e8132b3fbf Relinquish maintainership of packages to tech-pkg@NetBSD.org. 2004-04-24 22:46:08 +00:00
snj
9c6d9e1826 No longer used. 2004-03-31 06:09:19 +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
jlam
ec993afa1a LIBTOOL_OVERRIDE and SHLIBTOOL_OVERRIDE are now lists of shell globs
relative to ${WRKSRC}.  Remove redundant LIBTOOL_OVERRIDE settings that
are automatically handled by the default setting in bsd.pkg.mk.
2004-02-14 17:21:32 +00:00
grant
c044c82d67 replace deprecated USE_GMAKE with USE_GNU_TOOLS+=make. 2004-01-22 08:02:15 +00:00
agc
dc52048e01 Move WRKSRC definition away from the first paragraph in a Makefile. 2004-01-20 12:07:06 +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
drochner
03b25e34de update to 2.8.5
changes:
Make LIMIT work on a compound SELECT statement.
LIMIT 0 now shows no rows. Use LIMIT -1 to see all rows.
Correctly handle comparisons between an INTEGER PRIMARY KEY and a
	floating point number.
Fix several important bugs in the new ATTACH and DETACH commands.
Updated the NULL-handling document.
Allow NULL arguments in sqlite_compile() and sqlite_step().
Many minor bug fixes
Enhanced the "PRAGMA integrity_check" command to verify indices.
Added authorization hooks for the new ATTACH and DETACH commands.
Many documentation updates
2003-08-01 14:22:18 +00:00
grant
91f00f1cbc s/netbsd.org/NetBSD.org/ 2003-07-17 21:21:03 +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
jmmv
0916498c1b Place WRKSRC where it belongs, to make pkglint happy; ok'ed by wiz. 2003-03-29 12:40:00 +00:00
taca
80259d812a Add http://www.sqlite.org/ as download site. 2003-02-17 16:23:08 +00:00
agc
c402b52b4c Update sqlite to version 2.8.0.
An update to 2.7.5 was provided in PR 19719 by Jarkko Torppa.

Main changes are support for endian-neutral databases, and a huge number of
bug fixes.
2003-02-17 14:55:29 +00:00
wiz
b8664845e3 Prefer BUILDLINK_PREFIX.* to BUILDLINK_DIR. 2002-10-25 18:32:43 +00:00
wiz
c169be95be buildlink1 -> buildlink2. 2002-10-12 01:17:11 +00:00
wiz
55123fcadc Unused. 2002-10-12 01:14:36 +00:00
jlam
efb93b17bd Merge changes in packages from the buildlink2 branch that have
buildlink2.mk files back into the main trunk.
2002-08-25 19:21:43 +00:00
reinoud
e9b29da103 Major upgrade of Sqlite from version 2.1.7 to version 2.2.5
Lots of bug fixes in SQL parsing and supports more weildy SQL code like
using the right of an AS in athe column list of a SELECT as part of an
expression in the WHERE, ORDER BY, GROUP BY and/of HAVING clauses.

For a full report see the changelog on
http://www.hwaci.com/sw/sqlite/changes.html
2002-01-31 20:04:53 +00:00
agc
3a835b9be2 Revert previous changes so that they can be done in the approriate way. 2002-01-03 08:47:19 +00:00
reinoud
1fbd586318 *** empty log message *** 2002-01-03 00:03:20 +00:00
agc
8b7324bf61 Don't use c99 uint*_t types, since they're not defined on 1.5.2 and
previous releases. Instead, fall back on the trusty u_int*_t types
from <sys/types.h>

Fixes a problem uncovered on a recent 1.5.2 bulk build.
2001-12-30 21:12:11 +00:00
reinoud
4dae5bda09 Small typo fixes to make `pkglint' happier.... 2001-12-15 22:21:22 +00:00
reinoud
8967b5bd52 Updated SQLite package to version 2.1.7 fixing
1) locking problems due to a few race conditions

2)  fixing a bug in `create temporary table' wich could contaminate the
main database file opened too

3) bug fix in b-tree subsystem that could sometimes cause the first row of
a table to be repeated during a database scan.
2001-12-15 22:18:41 +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
b2609cb011 SQLite is now on version 2.1.1 incorporating many changes, enhancements
and bugfixes including support for 16Mb rows. For a full change see the
website's changelog at http://www.hwaci.com/sw/sqlite/changes.html

The file format changed! so please dump the database in SQL with .dump in
the old version and import it later in the new version.
2001-11-19 15:43:16 +00:00
reinoud
dd74500881 Just noted that some important bugfixes were made to version 2.1.0 to make
version 2.1.1
2001-11-19 01:15:46 +00:00
reinoud
df59114aa4 Update SQLite package to version 2.1.0 from 2.0.5 2001-11-19 00:41:06 +00:00
zuntum
0ca28723fb Move pkg/ files into package's toplevel directory 2001-11-01 00:11:36 +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
c6388cecc0 Add buildlink.mk file for use by other package Makefiles. 2001-10-16 16:24:35 +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