60
UserCommands::UserCommands(const UserCommands &user_commands)
62
update_count= user_commands.update_count;
63
delete_count= user_commands.delete_count;
64
insert_count= user_commands.insert_count;
65
select_count= user_commands.select_count;
66
rollback_count= user_commands.rollback_count;
67
commit_count= user_commands.commit_count;
68
create_count= user_commands.create_count;
69
alter_count= user_commands.alter_count;
70
drop_count= user_commands.drop_count;
71
admin_count= user_commands.admin_count;
74
void UserCommands::merge(UserCommands *user_commands)
76
incrementUpdateCount(user_commands->getUpdateCount());
77
incrementDeleteCount(user_commands->getDeleteCount());
78
incrementInsertCount(user_commands->getInsertCount());
79
incrementSelectCount(user_commands->getSelectCount());
80
incrementRollbackCount(user_commands->getRollbackCount());
81
incrementCommitCount(user_commands->getCommitCount());
82
incrementCreateCount(user_commands->getCreateCount());
83
incrementAlterCount(user_commands->getAlterCount());
84
incrementDropCount(user_commands->getDropCount());
85
incrementAdminCount(user_commands->getAdminCount());
60
88
uint64_t UserCommands::getSelectCount()
62
90
return select_count;