mirror of
https://github.com/DBD-SQLite/DBD-SQLite
synced 2025-06-07 22:28:47 -04:00
Final release prep
This commit is contained in:
parent
23feb5331b
commit
9cec70c022
6 changed files with 18 additions and 199 deletions
5
Changes
5
Changes
|
@ -12,10 +12,7 @@ Revision history for Perl extension DBD::SQLite.
|
||||||
- added TODO to show which issues are to be fixed. (ISHIGAKI)
|
- added TODO to show which issues are to be fixed. (ISHIGAKI)
|
||||||
- license and configure_requires in Makefile.PL and META.yml (Alexandr Ciornii)
|
- license and configure_requires in Makefile.PL and META.yml (Alexandr Ciornii)
|
||||||
- Spelling check for SQLite.pm (Alexandr Ciornii)
|
- Spelling check for SQLite.pm (Alexandr Ciornii)
|
||||||
|
- Adding arbitrary Perl 5.005 minimum
|
||||||
1.18 skipped
|
|
||||||
|
|
||||||
1.17 skipped
|
|
||||||
|
|
||||||
1.16 abandoned
|
1.16 abandoned
|
||||||
|
|
||||||
|
|
140
MANIFEST
140
MANIFEST
|
@ -1,140 +0,0 @@
|
||||||
alter.c
|
|
||||||
analyze.c
|
|
||||||
attach.c
|
|
||||||
auth.c
|
|
||||||
bitvec.c
|
|
||||||
btmutex.c
|
|
||||||
btree.c
|
|
||||||
btree.h
|
|
||||||
btreeInt.h
|
|
||||||
build.c
|
|
||||||
callback.c
|
|
||||||
Changes
|
|
||||||
complete.c
|
|
||||||
date.c
|
|
||||||
dbdimp.c
|
|
||||||
dbdimp.h
|
|
||||||
delete.c
|
|
||||||
expr.c
|
|
||||||
fault.c
|
|
||||||
fts3.c
|
|
||||||
fts3.h
|
|
||||||
fts3_expr.c
|
|
||||||
fts3_expr.h
|
|
||||||
fts3_hash.c
|
|
||||||
fts3_hash.h
|
|
||||||
fts3_icu.c
|
|
||||||
fts3_porter.c
|
|
||||||
fts3_tokenizer.c
|
|
||||||
fts3_tokenizer.h
|
|
||||||
fts3_tokenizer1.c
|
|
||||||
func.c
|
|
||||||
getsqlite.pl
|
|
||||||
global.c
|
|
||||||
hash.c
|
|
||||||
hash.h
|
|
||||||
hwtime.h
|
|
||||||
insert.c
|
|
||||||
journal.c
|
|
||||||
keywordhash.h
|
|
||||||
legacy.c
|
|
||||||
lib/DBD/SQLite.pm
|
|
||||||
loadext.c
|
|
||||||
main.c
|
|
||||||
Makefile.PL
|
|
||||||
malloc.c
|
|
||||||
MANIFEST This list of files
|
|
||||||
MANIFEST.SKIP
|
|
||||||
mem0.c
|
|
||||||
mem1.c
|
|
||||||
mem2.c
|
|
||||||
mem3.c
|
|
||||||
mem5.c
|
|
||||||
memjournal.c
|
|
||||||
META.yml
|
|
||||||
mutex.c
|
|
||||||
mutex.h
|
|
||||||
mutex_noop.c
|
|
||||||
mutex_os2.c
|
|
||||||
mutex_unix.c
|
|
||||||
mutex_w32.c
|
|
||||||
opcodes.c
|
|
||||||
opcodes.h
|
|
||||||
os.c
|
|
||||||
os.h
|
|
||||||
os_common.h
|
|
||||||
os_os2.c
|
|
||||||
os_unix.c
|
|
||||||
os_win.c
|
|
||||||
pager.c
|
|
||||||
pager.h
|
|
||||||
parse.c
|
|
||||||
parse.h
|
|
||||||
pcache.c
|
|
||||||
pcache.h
|
|
||||||
pcache1.c
|
|
||||||
ppport.h
|
|
||||||
pragma.c
|
|
||||||
prepare.c
|
|
||||||
printf.c
|
|
||||||
random.c
|
|
||||||
README
|
|
||||||
resolve.c
|
|
||||||
rowset.c
|
|
||||||
select.c
|
|
||||||
shell.c
|
|
||||||
SQLite.xs
|
|
||||||
sqlite3.h
|
|
||||||
sqlite3ext.h
|
|
||||||
sqliteInt.h
|
|
||||||
sqliteLimit.h
|
|
||||||
SQLiteXS.h
|
|
||||||
status.c
|
|
||||||
t/00basic.t
|
|
||||||
t/01logon.t
|
|
||||||
t/02cr_table.t
|
|
||||||
t/03insert.t
|
|
||||||
t/04select.t
|
|
||||||
t/05tran.t
|
|
||||||
t/06error.t
|
|
||||||
t/07busy.t
|
|
||||||
t/08create_function.t
|
|
||||||
t/09create_aggregate.t
|
|
||||||
t/10dsnlist.t
|
|
||||||
t/11unicode.t
|
|
||||||
t/20createdrop.t
|
|
||||||
t/30insertfetch.t
|
|
||||||
t/40bindparam.t
|
|
||||||
t/40blobs.t
|
|
||||||
t/40blobtext.t
|
|
||||||
t/40listfields.t
|
|
||||||
t/40nulls.t
|
|
||||||
t/40numrows.t
|
|
||||||
t/40prepcached.t
|
|
||||||
t/50chopblanks.t
|
|
||||||
t/50commit.t
|
|
||||||
t/60metadata.t
|
|
||||||
t/70schemachange.t
|
|
||||||
t/90cppcomments.t
|
|
||||||
t/99cleanup.t
|
|
||||||
t/ak-dbd.t
|
|
||||||
t/dbdadmin.t
|
|
||||||
t/lib.pl
|
|
||||||
t/SQLite.dbtest
|
|
||||||
table.c
|
|
||||||
tokenize.c
|
|
||||||
trigger.c
|
|
||||||
update.c
|
|
||||||
utf.c
|
|
||||||
util.c
|
|
||||||
vacuum.c
|
|
||||||
vdbe.c
|
|
||||||
vdbe.h
|
|
||||||
vdbeapi.c
|
|
||||||
vdbeaux.c
|
|
||||||
vdbeblob.c
|
|
||||||
vdbeInt.h
|
|
||||||
vdbemem.c
|
|
||||||
vtab.c
|
|
||||||
walker.c
|
|
||||||
where.c
|
|
20
META.yml
20
META.yml
|
@ -1,20 +0,0 @@
|
||||||
--- #YAML:1.0
|
|
||||||
name: DBD-SQLite
|
|
||||||
version: 1.15
|
|
||||||
abstract: ~
|
|
||||||
author: []
|
|
||||||
license: perl
|
|
||||||
distribution_type: module
|
|
||||||
configure_requires:
|
|
||||||
DBI: 1.21
|
|
||||||
ExtUtils::MakeMaker: 0
|
|
||||||
requires:
|
|
||||||
DBI: 1.21
|
|
||||||
no_index:
|
|
||||||
directory:
|
|
||||||
- t
|
|
||||||
- inc
|
|
||||||
generated_by: ExtUtils::MakeMaker version 6.48
|
|
||||||
meta-spec:
|
|
||||||
url: http://module-build.sourceforge.net/META-spec-v1.4.html
|
|
||||||
version: 1.4
|
|
21
Makefile.PL
21
Makefile.PL
|
@ -1,3 +1,4 @@
|
||||||
|
use 5.005;
|
||||||
use strict;
|
use strict;
|
||||||
use ExtUtils::MakeMaker;
|
use ExtUtils::MakeMaker;
|
||||||
use Config;
|
use Config;
|
||||||
|
@ -144,13 +145,23 @@ unless ( $Config{usethreads} ) {
|
||||||
WriteMakefile(
|
WriteMakefile(
|
||||||
NAME => 'DBD::SQLite',
|
NAME => 'DBD::SQLite',
|
||||||
VERSION_FROM => 'lib/DBD/SQLite.pm',
|
VERSION_FROM => 'lib/DBD/SQLite.pm',
|
||||||
PREREQ_PM => { DBI => 1.21, },
|
PREREQ_PM => {
|
||||||
($ExtUtils::MakeMaker::VERSION ge '6.46'?
|
'DBI' => 1.21,
|
||||||
('LICENSE' => 'perl',
|
'Test::More' => '0.42',
|
||||||
'META_MERGE' => {'configure_requires'=>{DBI => 1.21,}}, ) : ()),
|
},
|
||||||
|
($ExtUtils::MakeMaker::VERSION ge '6.46'? (
|
||||||
|
'LICENSE' => 'perl',
|
||||||
|
'META_MERGE' => {
|
||||||
|
'configure_requires' => {
|
||||||
|
DBI => 1.21,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
) : ()),
|
||||||
OBJECT => ( $force_local ? '$(O_FILES)' : 'SQLite.o dbdimp.o' ),
|
OBJECT => ( $force_local ? '$(O_FILES)' : 'SQLite.o dbdimp.o' ),
|
||||||
OPTIMIZE => '-O2',
|
OPTIMIZE => '-O2',
|
||||||
clean => { FILES => 'SQLite.xsi config.h tv.log output' },
|
clean => {
|
||||||
|
FILES => 'SQLite.xsi config.h tv.log output',
|
||||||
|
},
|
||||||
PL_FILES => {},
|
PL_FILES => {},
|
||||||
EXE_FILES => [],
|
EXE_FILES => [],
|
||||||
INC => join( ' ', @CC_INC ),
|
INC => join( ' ', @CC_INC ),
|
||||||
|
|
30
README
30
README
|
@ -1,30 +0,0 @@
|
||||||
DBD::SQLite
|
|
||||||
===========
|
|
||||||
|
|
||||||
SQLite is a small fast embedded SQL database engine.
|
|
||||||
|
|
||||||
DBD::SQLite embeds that database engine into a DBD driver, so
|
|
||||||
if you want a relational database for your project, but don't
|
|
||||||
want to install a large RDBMS system like MySQL or PostgreSQL,
|
|
||||||
then DBD::SQLite may be just what you need.
|
|
||||||
|
|
||||||
It supports quite a lot of features, such as transactions (atomic
|
|
||||||
commit and rollback), indexes, DBA-free operation, a large subset
|
|
||||||
of SQL92 supported, and more.
|
|
||||||
|
|
||||||
Installation requires a compiler.
|
|
||||||
|
|
||||||
The engine is very fast, but for updates/inserts/dml it does
|
|
||||||
perform a global lock on the entire database. This, obviously,
|
|
||||||
might not be good for multiple user systems. So beware. The
|
|
||||||
database also appears to be significantly faster if your
|
|
||||||
transactions are coarse. One performance benchmark I did was
|
|
||||||
inserting 100_000 rows into the database - with AutoCommit
|
|
||||||
on it was doing about 50 rows per second. When I turned AutoCommit
|
|
||||||
off it went up to 1000 rows per second.
|
|
||||||
|
|
||||||
This module is distributed under the same terms as Perl itself, and
|
|
||||||
is copyright Matt Sergeant, 2002.
|
|
||||||
|
|
||||||
The underlying SQLite database engine is copyright free.
|
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
package DBD::SQLite;
|
package DBD::SQLite;
|
||||||
|
|
||||||
|
use 5.005;
|
||||||
use strict;
|
use strict;
|
||||||
use DBI;
|
use DBI;
|
||||||
use DynaLoader();
|
use DynaLoader();
|
||||||
|
|
Loading…
Add table
Reference in a new issue