1
0
Fork 0
mirror of https://github.com/DBD-SQLite/DBD-SQLite synced 2025-06-08 06:38:12 -04:00

sqlite -> SQLite

This commit is contained in:
Kenichi Ishigaki 2015-02-26 17:25:17 +09:00
parent 78f65485eb
commit cdad8c0034

View file

@ -1200,7 +1200,7 @@ bind values with no explicit type.
=head2 Placeholders =head2 Placeholders
SQLite supports several placeholder expressions, including C<?> SQLite supports several placeholder expressions, including C<?>
and C<:AAAA>. Consult the L<DBI> and sqlite documentation for and C<:AAAA>. Consult the L<DBI> and SQLite documentation for
details. details.
L<http://www.sqlite.org/lang_expr.html#varparam> L<http://www.sqlite.org/lang_expr.html#varparam>
@ -1235,13 +1235,13 @@ turning the pragma off:
$dbh->do("PRAGMA foreign_keys = OFF"); $dbh->do("PRAGMA foreign_keys = OFF");
As of this writing, this feature is disabled by default by the As of this writing, this feature is disabled by default by the
sqlite team, and by us, to secure backward compatibility, as SQLite team, and by us, to secure backward compatibility, as
this feature may break your applications, and actually broke this feature may break your applications, and actually broke
some for us. If you have used a schema with foreign key constraints some for us. If you have used a schema with foreign key constraints
but haven't cared them much and supposed they're always ignored for but haven't cared them much and supposed they're always ignored for
SQLite, be prepared, and B<please do extensive testing to ensure SQLite, be prepared, and B<please do extensive testing to ensure
that your applications will continue to work when the foreign keys that your applications will continue to work when the foreign keys
support is enabled by default>. It is very likely that the sqlite support is enabled by default>. It is very likely that the SQLite
team will turn it default-on in the future, and we plan to do it team will turn it default-on in the future, and we plan to do it
NO LATER THAN they do so. NO LATER THAN they do so.
@ -1456,7 +1456,7 @@ are using linux. Also you might want to set:
PRAGMA synchronous = OFF PRAGMA synchronous = OFF
Which will prevent sqlite from doing fsync's when writing (which Which will prevent SQLite from doing fsync's when writing (which
slows down non-transactional writes significantly) at the expense slows down non-transactional writes significantly) at the expense
of some peace of mind. Also try playing with the cache_size pragma. of some peace of mind. Also try playing with the cache_size pragma.
@ -1713,7 +1713,7 @@ method (to avoid conflict with DBI's trace() method).
This method returns the last inserted rowid. If you specify an INTEGER PRIMARY This method returns the last inserted rowid. If you specify an INTEGER PRIMARY
KEY as the first column in your table, that is the column that is returned. KEY as the first column in your table, that is the column that is returned.
Otherwise, it is the hidden ROWID column. See the sqlite docs for details. Otherwise, it is the hidden ROWID column. See the SQLite docs for details.
Generally you should not be using this method. Use the L<DBI> last_insert_id Generally you should not be using this method. Use the L<DBI> last_insert_id
method instead. The usage of this is: method instead. The usage of this is:
@ -2070,7 +2070,7 @@ the currently connected database, and write it out to the named file.
=head2 $dbh->sqlite_enable_load_extension( $bool ) =head2 $dbh->sqlite_enable_load_extension( $bool )
Calling this method with a true value enables loading (external) Calling this method with a true value enables loading (external)
sqlite3 extensions. After the call, you can load extensions like this: SQLite3 extensions. After the call, you can load extensions like this:
$dbh->sqlite_enable_load_extension(1); $dbh->sqlite_enable_load_extension(1);
$sth = $dbh->prepare("select load_extension('libsqlitefunctions.so')") $sth = $dbh->prepare("select load_extension('libsqlitefunctions.so')")
@ -2078,7 +2078,7 @@ sqlite3 extensions. After the call, you can load extensions like this:
=head2 $dbh->sqlite_load_extension( $file, $proc ) =head2 $dbh->sqlite_load_extension( $file, $proc )
Loading an extension by a select statement (with the "load_extension" sqlite3 function like above) has some limitations. If you need to, say, create other functions from an extension, use this method. $file (a path to the extension) is mandatory, and $proc (an entry point name) is optional. You need to call C<sqlite_enable_load_extension> before calling C<sqlite_load_extension>. Loading an extension by a select statement (with the "load_extension" SQLite3 function like above) has some limitations. If you need to, say, create other functions from an extension, use this method. $file (a path to the extension) is mandatory, and $proc (an entry point name) is optional. You need to call C<sqlite_enable_load_extension> before calling C<sqlite_load_extension>.
=head2 $dbh->sqlite_trace( $code_ref ) =head2 $dbh->sqlite_trace( $code_ref )
@ -2139,7 +2139,7 @@ is for internal use only.
=head2 DBD::SQLite::compile_options() =head2 DBD::SQLite::compile_options()
Returns an array of compile options (available since sqlite 3.6.23, Returns an array of compile options (available since SQLite 3.6.23,
bundled in DBD::SQLite 1.30_01), or an empty array if the bundled bundled in DBD::SQLite 1.30_01), or an empty array if the bundled
library is old or compiled with SQLITE_OMIT_COMPILEOPTION_DIAGS. library is old or compiled with SQLITE_OMIT_COMPILEOPTION_DIAGS.
@ -2453,7 +2453,7 @@ Other Perl virtual tables may also be published separately on CPAN.
=head1 FOR DBD::SQLITE EXTENSION AUTHORS =head1 FOR DBD::SQLITE EXTENSION AUTHORS
Since 1.30_01, you can retrieve the bundled sqlite C source and/or Since 1.30_01, you can retrieve the bundled SQLite C source and/or
header like this: header like this:
use File::ShareDir 'dist_dir'; use File::ShareDir 'dist_dir';
@ -2509,8 +2509,8 @@ Bugs should be reported via the CPAN bug tracker at
L<http://rt.cpan.org/NoAuth/ReportBug.html?Queue=DBD-SQLite> L<http://rt.cpan.org/NoAuth/ReportBug.html?Queue=DBD-SQLite>
Note that bugs of bundled sqlite library (i.e. bugs in C<sqlite3.[ch]>) Note that bugs of bundled SQLite library (i.e. bugs in C<sqlite3.[ch]>)
should be reported to the sqlite developers at sqlite.org via their bug should be reported to the SQLite developers at sqlite.org via their bug
tracker or via their mailing list. tracker or via their mailing list.
The master repository is on GitHub: The master repository is on GitHub: