ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/PApp-SQL/SQL.pm
(Generate patch)

Comparing PApp-SQL/SQL.pm (file contents):
Revision 1.24 by root, Thu Apr 11 01:02:10 2002 UTC vs.
Revision 1.26 by root, Tue Apr 16 17:18:37 2002 UTC

318 318
319=item [old-size] = cachesize [new-size] 319=item [old-size] = cachesize [new-size]
320 320
321Returns (and possibly changes) the LRU cache size used by C<sql_exec>. The 321Returns (and possibly changes) the LRU cache size used by C<sql_exec>. The
322default is somewhere around 50 (= the 50 last recently used statements 322default is somewhere around 50 (= the 50 last recently used statements
323will be cached). It shouldn't be too large, since a simple linear listed 323will be cached). It shouldn't be too large, since a simple linear list
324is used for the cache at the moment (which, for small (<100) cache sizes 324is used for the cache at the moment (which, for small (<100) cache sizes
325is actually quite fast). 325is actually quite fast).
326 326
327The function always returns the cache size in effect I<before> the call, 327The function always returns the cache size in effect I<before> the call,
328so, to nuke the cache (for example, when a database connection has died 328so, to nuke the cache (for example, when a database connection has died
416 416
417Return the login name. 417Return the login name.
418 418
419=item $db->password 419=item $db->password
420 420
421Return the password (emphasizing the fact that the apssword is stored plaintext ;) 421Return the password (emphasizing the fact that the password is stored plaintext ;)
422 422
423=cut 423=cut
424 424
425sub dsn($) { 425sub dsn($) {
426 my $self = shift; 426 my $self = shift;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines