diff --git a/Changes b/Changes index ba10c6d..a3934a1 100644 --- a/Changes +++ b/Changes @@ -12,10 +12,7 @@ Revision history for Perl extension DBD::SQLite. - added TODO to show which issues are to be fixed. (ISHIGAKI) - license and configure_requires in Makefile.PL and META.yml (Alexandr Ciornii) - Spelling check for SQLite.pm (Alexandr Ciornii) - -1.18 skipped - -1.17 skipped + - Adding arbitrary Perl 5.005 minimum 1.16 abandoned diff --git a/MANIFEST b/MANIFEST deleted file mode 100644 index eeda6ba..0000000 --- a/MANIFEST +++ /dev/null @@ -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 diff --git a/META.yml b/META.yml deleted file mode 100644 index 21f0363..0000000 --- a/META.yml +++ /dev/null @@ -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 diff --git a/Makefile.PL b/Makefile.PL index 6678927..d6329f4 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,3 +1,4 @@ +use 5.005; use strict; use ExtUtils::MakeMaker; use Config; @@ -144,13 +145,23 @@ unless ( $Config{usethreads} ) { WriteMakefile( NAME => 'DBD::SQLite', VERSION_FROM => 'lib/DBD/SQLite.pm', - PREREQ_PM => { DBI => 1.21, }, - ($ExtUtils::MakeMaker::VERSION ge '6.46'? - ('LICENSE' => 'perl', - 'META_MERGE' => {'configure_requires'=>{DBI => 1.21,}}, ) : ()), + PREREQ_PM => { + 'DBI' => 1.21, + 'Test::More' => '0.42', + }, + ($ExtUtils::MakeMaker::VERSION ge '6.46'? ( + 'LICENSE' => 'perl', + 'META_MERGE' => { + 'configure_requires' => { + DBI => 1.21, + }, + }, + ) : ()), OBJECT => ( $force_local ? '$(O_FILES)' : 'SQLite.o dbdimp.o' ), OPTIMIZE => '-O2', - clean => { FILES => 'SQLite.xsi config.h tv.log output' }, + clean => { + FILES => 'SQLite.xsi config.h tv.log output', + }, PL_FILES => {}, EXE_FILES => [], INC => join( ' ', @CC_INC ), diff --git a/README b/README deleted file mode 100644 index 97ee1e6..0000000 --- a/README +++ /dev/null @@ -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. - diff --git a/lib/DBD/SQLite.pm b/lib/DBD/SQLite.pm index 1c536cf..abd9ccc 100644 --- a/lib/DBD/SQLite.pm +++ b/lib/DBD/SQLite.pm @@ -1,5 +1,6 @@ package DBD::SQLite; +use 5.005; use strict; use DBI; use DynaLoader();