Produced by Araxis Merge on 12/7/2018 11:36:29 AM Central Standard Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.
| # | Location | File | Last Modified |
|---|---|---|---|
| 1 | C:\SCRUB\MHED\MHED\VATS 2.3.0\var-utility-web-2.3.0@19406cb7810\gradle-builds\buildSrc\src\main\groovy | RunSQL.groovy | Thu Sep 13 18:55:48 2018 UTC |
| 2 | C:\MHED-scrubbed\MHED\MHED\VATS 2.3.0\var-utility-web-2.3.0@19406cb7810\gradle-builds\buildSrc\src\main\groovy | RunSQL.groovy | Fri Dec 7 13:52:00 2018 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 3 | 36 |
| Changed | 2 | 4 |
| Inserted | 0 | 0 |
| Removed | 0 | 0 |
| Whitespace | |
|---|---|
| Character case | Differences in character case are significant |
| Line endings | Differences in line endings (CR and LF characters) are ignored |
| CR/LF characters | Not shown in the comparison detail |
No regular expressions were active.
| 1 | import org .gradle.ap i.DefaultT ask | |
| 2 | import org .gradle.ap i.tasks.Ta skAction | |
| 3 | import gro ovy.sql.Sq l | |
| 4 | ||
| 5 | class RunS QL extends DefaultTa sk { | |
| 6 | def Fi le sqlFile | |
| 7 | def us er = 'root ' | |
| 8 | def Vs ID PW_Redacte d ' | |
| 9 | def ur l = 'jdbc: mysql://lo calhost:33 06/HADB' | |
| 10 | def dr iver = 'co m.mysql.jd bc.Driver' | |
| 11 | ||
| 12 | @TaskA ction | |
| 13 | def ru nSQL() { | |
| 14 | def props = [user: u ser, V s ID allowMulti Queries: ' true'] as Properties | |
| 15 | de f sql = Sq l.newInsta nce(url, p rops, driv er) | |
| 16 | St ring sqlSt ring = sql File.text | |
| 17 | sq l.execute( sqlString) | |
| 18 | sq l.close() | |
| 19 | } | |
| 20 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.