• R/O
  • SSH
  • HTTPS

format-sql: Commit


Commit MetaInfo

Revision76 (tree)
Time2018-09-06 00:40:12
Authorkimur058

Log Message

case文の整形不備を修正

Change Summary

Incremental Difference

--- trunk/DMLBreaker3.x/DMLBreaker.js (revision 75)
+++ trunk/DMLBreaker3.x/DMLBreaker.js (revision 76)
@@ -938,7 +938,7 @@
938938 formatSql += wkAdd.substring(0, wkAdd.length - 6) + "\n\t" + tab + wkAdd.slice(-6);
939939 wkAdd = "";
940940
941- } else if (wkAdd.match(/ end |^end |\tend | end\r| end\n| end /i) != null) {
941+ } else if (wkAdd.match(/ end |^end |\tend | end\r| end\n| end | end\(/i) != null) {
942942
943943 var len = wkAdd.match(/^end /i) != null ? -4 : -5;
944944 formatSql += wkAdd.substring(0, wkAdd.length + len) + "\n\t" + tab + wkAdd.slice(len);
Show on old repository browser