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.8 by root, Mon Jan 22 10:53:36 2001 UTC vs.
Revision 1.9 by root, Sat Feb 3 17:48:02 2001 UTC

241 241
242=cut 242=cut
243 243
244=item reinitialize [not exported] 244=item reinitialize [not exported]
245 245
246Clears any internal caches (statement cache, database handle cache). 246Clears any internal caches (statement cache, database handle
247cache). Should be called after C<fork> and other accidents that invalidate
248database handles.
247 249
248=cut 250=cut
249 251
250sub reinitialize { 252sub reinitialize {
251 cachesize cachesize 0; 253 cachesize cachesize 0;
319 321
320=cut 322=cut
321 323
322sub dsn($) { 324sub dsn($) {
323 my $self = shift; 325 my $self = shift;
324 $self->[1][1]; 326 (split /\x00/, $self->[0])[1];
325} 327}
326 328
327=back 329=back
328 330
329=cut 331=cut

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines