Skip to content

Commit

Permalink
[CBRD-24679] auto_commit log error in sql log (CUBRID#4159)
Browse files Browse the repository at this point in the history
http://jira.cubrid.org/browse/CBRD-24679

Auto-commit is performed on the server, but in the broker's sql log, it is written that it was performed on the client.
Conversely, auto-commit is performed on the client, but the broker's sql log is written as being performed on the server.
  • Loading branch information
airnet73 authored Mar 6, 2023
1 parent 7463d4a commit b73d1cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/broker/cas_execute.c
Original file line number Diff line number Diff line change
Expand Up @@ -10664,7 +10664,7 @@ ux_auto_commit (T_NET_BUF * net_buf, T_REQ_INFO * req_info)

if (req_info->need_auto_commit == TRAN_AUTOCOMMIT)
{
cas_log_write (0, false, "auto_commit %s", tran_was_latest_query_committed ()? "(local)" : "(server)");
cas_log_write (0, false, "auto_commit %s", tran_was_latest_query_committed ()? "(server)" : "(local)");
err_code = ux_end_tran (CCI_TRAN_COMMIT, true);
cas_log_write (0, false, "auto_commit %d", err_code);
logddl_set_msg ("auto_commit %d", err_code);
Expand Down

0 comments on commit b73d1cb

Please sign in to comment.