-
Notifications
You must be signed in to change notification settings - Fork 8.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bugfix: fix SQLServer-related SQL error when using database of SQLServer #6493
bugfix: fix SQLServer-related SQL error when using database of SQLServer #6493
Conversation
…atabase of SQLServer (apache#6493)
c69ec03
to
3e023b5
Compare
@funky-eyes As your wish, I have merged the first two issues and then created a separate PR for them. Please help me review and merge it. Thanks a bunch! |
From #6477 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/home/runner/work/incubator-seata/incubator-seata/server/src/main/java/org/apache/seata/server/console/impl/db/GlobalLockDBServiceImpl.java:120:9: 'if' is not followed by whitespace. [WhitespaceAround]
common/src/main/java/org/apache/seata/common/util/PageUtil.java
Outdated
Show resolved
Hide resolved
...n/java/org/apache/seata/core/store/db/sql/distributed/lock/BaseDistributedLockSqlServer.java
Show resolved
Hide resolved
...main/java/org/apache/seata/core/store/db/sql/distributed/lock/DistributedLockSqlFactory.java
Outdated
Show resolved
Hide resolved
core/src/main/java/org/apache/seata/core/store/db/sql/lock/SqlServerLockStoreSql.java
Show resolved
Hide resolved
core/src/main/java/org/apache/seata/core/store/db/sql/log/SqlServerLogStoreSqls.java
Show resolved
Hide resolved
server/src/main/java/org/apache/seata/server/console/impl/db/GlobalLockDBServiceImpl.java
Outdated
Show resolved
Hide resolved
server/src/main/java/org/apache/seata/server/console/impl/db/GlobalSessionDBServiceImpl.java
Outdated
Show resolved
Hide resolved
…atabase of SQLServer (apache#6493)
c97eff7
to
ea352db
Compare
@funky-eyes As your wish, I have fixed all issures mentioned above. Please help me review and merge it again! Thanks a million! |
...main/java/org/apache/seata/core/store/db/sql/distributed/lock/DistributedLockSqlFactory.java
Outdated
Show resolved
Hide resolved
...n/java/org/apache/seata/core/store/db/sql/distributed/lock/BaseDistributedLockSqlServer.java
Show resolved
Hide resolved
…atabase of SQLServer (apache#6493)
b2750fe
to
5b322d9
Compare
# Conflicts: # changes/en-us/2.x.md # changes/zh-cn/2.x.md # core/src/main/java/org/apache/seata/core/store/db/sql/lock/SqlServerLockStoreSql.java # script/server/db/sqlserver.sql
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please format the code blocks related to your changes to ensure that CI checks pass the code style validation
…atabase of SQLServer (apache#6493)
ebdc745
to
e1d6a3e
Compare
…atabase of SQLServer (apache#6493)
e1d6a3e
to
e232aee
Compare
Done! Please review again! Thank you so much! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Ⅰ. Describe what this PR did
1.Fix the failure of seata server's starting because of SQL error in org.apache.seata.core.store.db.sql.lock.SqlServerLockStoreSql#INSERT_LOCK_SQL_SQLSERVER when using database SQLServer;
2.Fix the failure of querying TransactionInfo and GlobalLockInfo at seata server console when using database SQLServer;
Ⅱ. Does this pull request fix one issue?
Ⅲ. Why don't you add test cases (unit test/integration test)?
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews