Author: wyoung
Date: Sat Mar  4 09:32:17 2006
New Revision: 1218

URL: http://svn.gna.org/viewcvs/mysqlpp?rev=1218&view=rev
Log:
Fixed a bug for SSQLS set() method where custom.pl wasn't resetting an
internal variable, thus causing it to generate incorrect code.  Patch by
"Waba".

Modified:
    branches/v2.1-bakefile/lib/custom.pl

Modified: branches/v2.1-bakefile/lib/custom.pl
URL: 
http://svn.gna.org/viewcvs/mysqlpp/branches/v2.1-bakefile/lib/custom.pl?rev=1218&r1=1217&r2=1218&view=diff
==============================================================================
--- branches/v2.1-bakefile/lib/custom.pl (original)
+++ branches/v2.1-bakefile/lib/custom.pl Sat Mar  4 09:32:17 2006
@@ -176,6 +176,7 @@
   $compr = ""; $parm2 = ""; $define = "";
   $compr = "    int cmp; \\\n" unless $i == 1;
   $compp = "";
+  $set = "";
   foreach my $j (1..$i) {
       $compr .= "    if (cmp = mysqlpp::sql_cmp(x.C$j , y.C$j )) return cmp; 
\\\n"
                                                               unless $j == $i;


_______________________________________________
Mysqlpp-commits mailing list
[email protected]
https://mail.gna.org/listinfo/mysqlpp-commits

Reply via email to