Skip to content

Commit 026e872

Browse files
author
core-lib
committed
增加脚本指令解析
1 parent 7125e13 commit 026e872

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/main/java/io/sqlman/version/JdbcVersionManager.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ public void upgrade() throws SQLException {
6969
upgrade(script);
7070
} else {
7171
int sqls = script.sqls();
72-
for (int index = ordinal; index <= sqls; index++) {
73-
upgrade(script, index);
72+
for (int odn = ordinal; odn <= sqls; odn++) {
73+
upgrade(script, odn);
7474
}
7575
ordinal = 1;
7676
}

0 commit comments

Comments
 (0)