lgcareer commented on a change in pull request #1919: Add modify user name for
process definition
URL:
https://github.com/apache/incubator-dolphinscheduler/pull/1919#discussion_r376877926
##########
File path:
dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/utils/ScriptRunner.java
##########
@@ -169,13 +169,13 @@ private void runScript(Connection conn, Reader reader)
throws IOException, SQLEx
if (stopOnError && rs != null) {
ResultSetMetaData md = rs.getMetaData();
int cols = md.getColumnCount();
- for (int i = 0; i < cols; i++) {
+ for (int i = 1; i < cols; i++) {
Review comment:
why change this place,if change this,Whether execute success when upgrade in
mysql ?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services