]> wagnertech.de Git - mfinanz.git/blobdiff - SL/DBUpgrade2.pm
SQL-File-Parsing: Off-by-one in $$ ... $$-Syntax für stored procedures behoben
[mfinanz.git] / SL / DBUpgrade2.pm
index a39ef931b5f275dffd5ed6645facec9ce9d449f5..f0d88ffa11c71cac578d15dccad88d8137685fc4 100644 (file)
@@ -164,7 +164,7 @@ sub process_query {
           pop(@quote_chars);
         } elsif (length $quote_chars[-1] > 1
              &&  substr($_, $i, length $quote_chars[-1]) eq $quote_chars[-1]) {
-          $i   += length $quote_chars[-1] - 1;
+          $i   += length($quote_chars[-1]) - 1;
           $char = $quote_chars[-1];
           pop(@quote_chars);
         }