Vladimir Davydov
6c6689f779
cql: refactor statement accounting
...
Rather than passing a pointer to a cql_stats member corresponding to
the statement type, pass a reference to a cql_stats object and use
statement_type, which is already stored in modification_statement, for
determining which counter to increment. This will allow us to account
conditional statements, which will have a separate set of counters,
right in modification_statement::execute() - all we'll need to do is
add the new counters and bump them in case execute_with_condition is
called.
While we are at it, remove extra inclusions from statement_type.hh so as
not to introduce any extra dependencies for cql_stats.hh users.
Message-Id: <20191022092258.GC21588@esperanza>
2019-10-22 12:39:14 +03:00
..
2019-05-21 20:06:40 +03:00
2019-09-15 10:38:09 +03:00
2018-04-16 10:18:28 +02:00
2018-04-16 10:18:28 +02:00
2019-10-17 11:28:23 +02:00
2019-03-20 14:10:28 -07:00
2019-09-25 15:41:45 -07:00
2018-04-16 10:18:28 +02:00
2019-01-05 15:43:07 +02:00
2018-04-16 10:18:28 +02:00
2018-05-27 12:40:27 +03:00
2018-05-27 12:40:27 +03:00
2018-05-27 12:40:27 +03:00
2018-05-27 12:40:27 +03:00
2019-10-01 19:49:31 +02:00
2019-09-26 11:44:00 +03:00
2016-04-08 08:12:47 +03:00
2019-10-17 10:55:31 +02:00
2019-10-17 10:55:31 +02:00
2019-01-08 13:16:36 +02:00
2016-05-31 09:09:21 +03:00
2019-03-20 10:51:27 +01:00
2019-03-20 09:51:46 +01:00
2019-09-15 10:38:09 +03:00
2019-07-05 09:25:03 +02:00
2018-04-16 10:18:28 +02:00
2019-10-17 11:28:14 +02:00
2019-10-17 11:28:14 +02:00
2019-03-20 14:10:28 -07:00
2018-04-16 10:18:28 +02:00
2019-05-08 10:09:22 -04:00
2019-01-08 13:16:36 +02:00
2019-10-22 12:39:14 +03:00
2018-04-23 12:00:57 +02:00
2019-07-17 09:44:47 +03:00
2018-05-15 17:59:53 +03:00
2018-04-30 13:19:49 +03:00
2018-04-16 10:18:28 +02:00
2018-04-16 10:18:28 +02:00
2019-10-17 11:28:23 +02:00
2018-04-16 10:18:28 +02:00
2019-01-24 09:55:04 +01:00
2018-04-16 10:18:28 +02:00
2019-01-05 15:43:07 +02:00
2018-04-16 10:18:28 +02:00
2018-04-16 10:18:28 +02:00
2018-04-16 10:18:28 +02:00
2018-04-16 10:18:28 +02:00
2018-12-11 23:33:02 +00:00
2019-01-08 13:16:36 +02:00
2019-03-20 09:51:46 +01:00
2019-03-20 09:51:46 +01:00
2019-09-15 10:38:09 +03:00
2019-09-15 10:38:09 +03:00
2018-11-01 13:16:17 +00:00
2018-04-16 10:18:28 +02:00
2018-04-16 10:18:28 +02:00
2018-06-25 09:21:47 +01:00
2018-04-16 10:18:28 +02:00
2019-10-22 12:39:14 +03:00
2019-10-22 12:39:14 +03:00
2017-05-08 16:33:17 +03:00
2018-11-01 13:16:17 +00:00
2018-04-16 10:18:28 +02:00
2019-01-08 13:16:36 +02:00
2019-01-08 13:16:36 +02:00
2019-01-08 13:16:36 +02:00
2018-11-21 00:01:44 +02:00
2018-04-16 10:18:28 +02:00
2018-04-16 10:18:28 +02:00
2018-04-16 10:18:28 +02:00
2018-11-01 13:16:17 +00:00
2018-05-27 12:40:27 +03:00
2019-01-08 13:16:36 +02:00
2019-10-22 12:39:14 +03:00
2019-06-24 13:21:37 +02:00
2019-10-22 12:39:14 +03:00
2019-01-08 13:16:36 +02:00
2019-01-08 13:16:36 +02:00
2019-10-22 12:39:14 +03:00
2019-10-22 12:39:14 +03:00
2018-12-29 10:58:39 +02:00
2018-05-27 12:40:27 +03:00