[svn:dbi] r14051 - dbi/trunk/lib/DBD

[email protected]
Newsgroups perl.dbi.changes
Message-ID <[email protected]>
Author: REHSACK
Date: Tue May 25 13:52:59 2010
New Revision: 14051

Modified:
   dbi/trunk/lib/DBD/DBM.pm

Log:
fix typo

Modified: dbi/trunk/lib/DBD/DBM.pm
==============================================================================
--- dbi/trunk/lib/DBD/DBM.pm	(original)
+++ dbi/trunk/lib/DBD/DBM.pm	Tue May 25 13:52:59 2010
@@ -559,7 +559,7 @@
 
     # some sanity checks ...
     my $ncols = scalar( @$row_aryref );
-    $ncols < 1 and croak "At least 2 columns are required for DBD::DBM tables ...";
+    $ncols < 2 and croak "At least 2 columns are required for DBD::DBM tables ...";
     !$meta->{dbm_mldbm} and $ncols > 2 and
 	croak "Without serializing with MLDBM only 2 columns are supported, you give $ncols";
     $meta->{col_names} = $row_aryref;
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.