Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,7 @@ private boolean checkHasPrivInternal(String host, String user, PrivPredicate pri
if (userPrivTable.hasPriv(host, user, priv)) {
return true;
}
break;
case DATABASE:
if (dbPrivTable.hasPriv(host, user, priv)) {
return true;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ public boolean commitAndPublishTransaction(Database db, long transactionId,
}

public void abortTransaction(long dbId, long transactionId, String reason) throws UserException {
abortTransaction(transactionId, reason, null);
abortTransaction(dbId, transactionId, reason, null);
}

public void abortTransaction(Long dbId, Long txnId, String reason, TxnCommitAttachment txnCommitAttachment) throws UserException {
Expand Down