Details
-
Bug
-
Status: Closed (View Workflow)
-
Critical
-
Resolution: Fixed
-
N/A
-
None
Description
set @qcache= @@global.query_cache_type; |
set global query_cache_type= 1; |
set query_cache_type= 1; |
|
create table t1 (a int); |
insert into t1 values (1),(2); |
|
flush status;
|
select hex(random_bytes(a)) from t1; |
select * from information_schema.global_status where variable_name in ('Qcache_inserts','Qcache_hits'); |
select hex(random_bytes(a)) from t1; |
select * from information_schema.global_status where variable_name in ('Qcache_inserts','Qcache_hits'); |
|
# Cleanup
|
drop table t1; |
set global query_cache_type= @qcache; |
bb-10.10-MDEV-25704 1303dfde02 |
select hex(random_bytes(a)) from t1; |
hex(random_bytes(a))
|
10
|
A6EF
|
select * from information_schema.global_status where variable_name in ('Qcache_inserts','Qcache_hits'); |
VARIABLE_NAME VARIABLE_VALUE
|
QCACHE_HITS 0
|
QCACHE_INSERTS 1
|
select hex(random_bytes(a)) from t1; |
hex(random_bytes(a))
|
10
|
A6EF
|
select * from information_schema.global_status where variable_name in ('Qcache_inserts','Qcache_hits'); |
VARIABLE_NAME VARIABLE_VALUE
|
QCACHE_HITS 1
|
QCACHE_INSERTS 1
|
Attachments
Issue Links
- relates to
-
MDEV-25704 Add RANDOM_BYTES function
-
- Closed
-
Activity
Field | Original Value | New Value |
---|---|---|
Link |
This issue relates to |
Status | Open [ 1 ] | In Progress [ 3 ] |
Assignee | Daniel Black [ danblack ] | Nikita Malyavin [ nikitamalyavin ] |
Status | In Progress [ 3 ] | In Review [ 10002 ] |
Status | In Review [ 10002 ] | Stalled [ 10000 ] |
Assignee | Nikita Malyavin [ nikitamalyavin ] | Daniel Black [ danblack ] |
Fix Version/s | 10.10.0 [ 27912 ] | |
Fix Version/s | 10.10 [ 27530 ] | |
Resolution | Fixed [ 1 ] | |
Status | Stalled [ 10000 ] | Closed [ 6 ] |
Fix Version/s | 10.10.1 [ 27913 ] | |
Fix Version/s | 10.10.0 [ 27912 ] |