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.25 by root, Sat Apr 13 00:58:39 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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines