Avi Kivity
c4e89ea1b0
Merge "cql3: time_uuid_fcts: validate time UUID" from Benny
...
"
Throw an error in case we hit an invalid time UUID
rather than hitting an assert.
Fixes #5552
(Ref #5588 that was dequeued and fixed here)
Test: UUID_test, cql_query_test(debug)
"
* 'validate-time-uuid' of https://github.com/bhalevy/scylla :
cql3: abstract_function_selector: provide assignment_testable_source_context
test: cql_query_test: add time uuid validation tests
cql3: time_uuid_fcts: validate timestamp arg
cql3: make_max_timeuuid_fct: delete outdated FIXME comment
cql3: time_uuid_fcts: validate time UUID
test: UUID_test: add tests for time uuid
utils: UUID: create_time assert nanos_since validity
utils/UUID_gen: make_nanos_since
utils: UUID: assert UUID.is_timestamp
(cherry picked from commit 3343baf159 )
Conflicts:
cql3/functions/time_uuid_fcts.hh
tests/cql_query_test.cc
2020-02-17 20:05:38 +02:00
..
2019-11-12 13:35:41 +01:00
2020-01-07 08:19:11 +02:00
2019-09-07 10:07:33 -07:00
2019-06-28 16:43:25 +03:00
2019-01-30 11:17:38 +02:00
2019-07-04 11:32:57 +02:00
2019-05-07 07:11:07 +03:00
2019-01-30 15:24:31 +00:00
2019-01-30 11:17:38 +02:00
2019-09-15 14:44:54 -07:00
2019-10-29 07:49:05 +01:00
2019-01-30 11:17:38 +02:00
2019-01-30 11:17:38 +02:00
2019-10-29 19:25:12 +01:00
2019-11-14 15:07:16 +01:00
2020-01-28 19:28:20 +02:00
2019-01-30 11:17:38 +02:00
2019-11-12 13:35:41 +01:00
2019-11-12 13:01:34 +01:00
2019-11-12 13:01:34 +01:00
2019-06-28 16:43:25 +03:00
2019-05-07 09:58:21 +03:00
2020-02-17 20:05:38 +02:00
2019-12-12 14:39:42 +02:00
2019-10-17 11:28:23 +02:00
2019-05-07 10:00:58 +03:00
2019-10-25 12:04:44 +02:00
2019-07-15 17:38:00 +03:00
2019-09-26 17:40:46 +03:00
2019-05-07 07:11:07 +03:00
2019-03-28 14:21:10 +02:00
2019-12-12 14:39:42 +02:00
2019-07-29 17:15:51 +02:00
2020-02-01 13:21:38 +02:00
2019-05-07 07:11:07 +03:00
2019-05-07 07:11:07 +03:00
2019-06-28 16:43:25 +03:00
2019-10-30 15:34:10 +01:00
2019-08-13 10:16:02 +03:00
2019-11-12 13:35:41 +01:00
2019-08-26 18:54:44 +03:00
2019-03-04 10:23:45 +00:00
2019-11-12 13:35:41 +01:00
2019-03-28 14:21:10 +02:00
2019-08-28 09:46:17 +03:00
2019-08-21 19:35:59 +02:00
2019-03-28 14:21:10 +02:00
2019-01-30 11:17:38 +02:00
2019-02-07 20:18:14 +02:00
2019-01-30 11:17:38 +02:00
2019-06-13 14:45:48 +03:00
2019-11-12 18:24:47 +01:00
2019-01-30 11:17:38 +02:00
2019-08-12 19:48:31 +03:00
2019-05-07 10:00:58 +03:00
2019-02-07 20:18:14 +02:00
2019-08-26 18:54:44 +03:00
2019-09-23 12:51:24 +02:00
2019-02-14 22:37:41 +02:00
2019-10-03 22:03:29 +02:00
2019-11-12 13:35:41 +01:00
2019-08-26 18:54:44 +03:00
2019-10-15 15:42:05 +03:00
2019-07-21 16:42:54 +03:00
2019-10-23 08:29:58 +03:00
2019-01-30 11:17:38 +02:00
2019-01-30 11:17:38 +02:00
2019-10-30 09:51:18 +01:00
2019-10-25 12:04:44 +02:00
2019-08-01 13:03:03 +03:00
2019-11-20 21:37:16 +02:00
2019-10-25 12:04:44 +02:00
2019-11-12 13:35:41 +01:00
2019-08-26 18:54:44 +03:00
2019-06-28 16:43:25 +03:00
2019-05-13 19:30:50 +02:00
2019-05-13 19:18:20 +02:00
2019-06-28 16:43:25 +03:00
2019-09-07 18:07:01 +03:00
2019-10-25 12:04:44 +02:00
2019-10-15 08:52:39 +03:00
2019-07-15 17:38:00 +03:00
2019-01-22 18:24:52 -05:00
2019-04-29 19:56:20 -07:00
2019-01-30 11:17:38 +02:00
2019-10-04 11:38:12 +02:00
2019-11-12 13:35:41 +01:00
2019-01-30 11:17:38 +02:00
2020-01-28 19:28:20 +02:00
2019-01-30 11:17:38 +02:00
2019-07-19 11:58:42 +02:00
2019-01-30 11:17:38 +02:00
2019-10-03 22:03:29 +02:00
2019-01-18 17:49:46 +02:00
2019-03-28 14:21:10 +02:00
2019-10-26 22:53:37 +03:00
2019-10-26 22:53:37 +03:00
2019-10-26 22:53:37 +03:00
2019-03-26 16:05:08 +02:00
2019-04-11 18:50:42 +03:00
2019-10-25 14:10:28 +02:00
2019-10-26 22:53:37 +03:00
2019-01-22 18:25:01 -05:00
2019-03-26 16:24:19 +02:00
2019-02-11 14:45:43 +02:00
2019-08-21 19:35:59 +02:00
2019-03-26 16:05:08 +02:00
2019-02-11 17:14:47 +02:00
2019-02-11 17:14:47 +02:00
2019-07-08 15:28:21 +00:00
2019-03-28 14:21:10 +02:00
2019-05-07 10:00:58 +03:00
2019-01-30 11:17:38 +02:00
2019-02-13 09:08:12 +00:00
2020-02-02 16:46:27 +02:00
2019-10-25 12:05:10 +02:00
2020-02-17 20:05:38 +02:00
2019-03-26 16:24:19 +02:00
2019-10-25 12:05:10 +02:00
2019-08-26 18:54:44 +03:00
2019-03-14 13:37:06 +00:00
2019-07-12 18:09:15 +02:00