projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dbc1fd3
)
SQL-File-Parsing: Off-by-one in $$ ... $$-Syntax für stored procedures behoben
author
Moritz Bunkus
<m.bunkus@linet-services.de>
Thu, 8 Nov 2012 11:00:10 +0000
(12:00 +0100)
committer
Moritz Bunkus
<m.bunkus@linet-services.de>
Thu, 8 Nov 2012 11:00:10 +0000
(12:00 +0100)
SL/DBUpgrade2.pm
patch
|
blob
|
history
diff --git
a/SL/DBUpgrade2.pm
b/SL/DBUpgrade2.pm
index
a39ef93
..
f0d88ff
100644
(file)
--- a/
SL/DBUpgrade2.pm
+++ b/
SL/DBUpgrade2.pm
@@
-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);
}