Commit 44db9c41 authored by Sergei Golubchik's avatar Sergei Golubchik

typo fix in ha_partition::rnd_pos(), status wasn't updated

parent e29c74c2
...@@ -805,6 +805,7 @@ WHERE VARIABLE_NAME LIKE 'HANDLER_%' AND VARIABLE_VALUE > 0; ...@@ -805,6 +805,7 @@ WHERE VARIABLE_NAME LIKE 'HANDLER_%' AND VARIABLE_VALUE > 0;
VARIABLE_NAME VARIABLE_VALUE VARIABLE_NAME VARIABLE_VALUE
HANDLER_COMMIT 1 HANDLER_COMMIT 1
HANDLER_READ_KEY 1 HANDLER_READ_KEY 1
HANDLER_READ_RND 1
HANDLER_TMP_WRITE 22 HANDLER_TMP_WRITE 22
HANDLER_UPDATE 2 HANDLER_UPDATE 2
# 1 commit # 1 commit
...@@ -837,6 +838,7 @@ SELECT * FROM INFORMATION_SCHEMA.SESSION_STATUS ...@@ -837,6 +838,7 @@ SELECT * FROM INFORMATION_SCHEMA.SESSION_STATUS
WHERE VARIABLE_NAME LIKE 'HANDLER_%' AND VARIABLE_VALUE > 0; WHERE VARIABLE_NAME LIKE 'HANDLER_%' AND VARIABLE_VALUE > 0;
VARIABLE_NAME VARIABLE_VALUE VARIABLE_NAME VARIABLE_VALUE
HANDLER_READ_KEY 1 HANDLER_READ_KEY 1
HANDLER_READ_RND 1
HANDLER_ROLLBACK 1 HANDLER_ROLLBACK 1
HANDLER_TMP_WRITE 22 HANDLER_TMP_WRITE 22
HANDLER_UPDATE 1 HANDLER_UPDATE 1
...@@ -852,6 +854,7 @@ SELECT * FROM INFORMATION_SCHEMA.SESSION_STATUS ...@@ -852,6 +854,7 @@ SELECT * FROM INFORMATION_SCHEMA.SESSION_STATUS
WHERE VARIABLE_NAME LIKE 'HANDLER_%' AND VARIABLE_VALUE > 0; WHERE VARIABLE_NAME LIKE 'HANDLER_%' AND VARIABLE_VALUE > 0;
VARIABLE_NAME VARIABLE_VALUE VARIABLE_NAME VARIABLE_VALUE
HANDLER_READ_KEY 1 HANDLER_READ_KEY 1
HANDLER_READ_RND 1
HANDLER_ROLLBACK 1 HANDLER_ROLLBACK 1
HANDLER_TMP_WRITE 22 HANDLER_TMP_WRITE 22
HANDLER_UPDATE 1 HANDLER_UPDATE 1
...@@ -870,6 +873,7 @@ VARIABLE_NAME VARIABLE_VALUE ...@@ -870,6 +873,7 @@ VARIABLE_NAME VARIABLE_VALUE
HANDLER_COMMIT 1 HANDLER_COMMIT 1
HANDLER_DELETE 1 HANDLER_DELETE 1
HANDLER_READ_KEY 1 HANDLER_READ_KEY 1
HANDLER_READ_RND 1
HANDLER_TMP_WRITE 22 HANDLER_TMP_WRITE 22
HANDLER_UPDATE 1 HANDLER_UPDATE 1
HANDLER_WRITE 1 HANDLER_WRITE 1
...@@ -922,6 +926,7 @@ WHERE VARIABLE_NAME LIKE 'HANDLER_%' AND VARIABLE_VALUE > 0; ...@@ -922,6 +926,7 @@ WHERE VARIABLE_NAME LIKE 'HANDLER_%' AND VARIABLE_VALUE > 0;
VARIABLE_NAME VARIABLE_VALUE VARIABLE_NAME VARIABLE_VALUE
HANDLER_COMMIT 2 HANDLER_COMMIT 2
HANDLER_READ_KEY 1 HANDLER_READ_KEY 1
HANDLER_READ_RND 1
HANDLER_READ_RND_NEXT 26 HANDLER_READ_RND_NEXT 26
HANDLER_TMP_WRITE 47 HANDLER_TMP_WRITE 47
HANDLER_UPDATE 2 HANDLER_UPDATE 2
...@@ -935,6 +940,7 @@ VARIABLE_NAME VARIABLE_VALUE ...@@ -935,6 +940,7 @@ VARIABLE_NAME VARIABLE_VALUE
HANDLER_COMMIT 3 HANDLER_COMMIT 3
HANDLER_DELETE 1 HANDLER_DELETE 1
HANDLER_READ_KEY 2 HANDLER_READ_KEY 2
HANDLER_READ_RND 2
HANDLER_READ_RND_NEXT 52 HANDLER_READ_RND_NEXT 52
HANDLER_TMP_WRITE 72 HANDLER_TMP_WRITE 72
HANDLER_UPDATE 3 HANDLER_UPDATE 3
...@@ -950,6 +956,7 @@ VARIABLE_NAME VARIABLE_VALUE ...@@ -950,6 +956,7 @@ VARIABLE_NAME VARIABLE_VALUE
HANDLER_COMMIT 3 HANDLER_COMMIT 3
HANDLER_DELETE 1 HANDLER_DELETE 1
HANDLER_READ_KEY 2 HANDLER_READ_KEY 2
HANDLER_READ_RND 2
HANDLER_READ_RND_NEXT 78 HANDLER_READ_RND_NEXT 78
HANDLER_TMP_WRITE 97 HANDLER_TMP_WRITE 97
HANDLER_UPDATE 3 HANDLER_UPDATE 3
...@@ -1222,7 +1229,7 @@ HANDLER_DELETE 6 ...@@ -1222,7 +1229,7 @@ HANDLER_DELETE 6
HANDLER_READ_FIRST 1 HANDLER_READ_FIRST 1
HANDLER_READ_KEY 2 HANDLER_READ_KEY 2
HANDLER_READ_NEXT 2 HANDLER_READ_NEXT 2
HANDLER_READ_RND 2 HANDLER_READ_RND 4
HANDLER_READ_RND_NEXT 16 HANDLER_READ_RND_NEXT 16
HANDLER_TMP_WRITE 22 HANDLER_TMP_WRITE 22
# 4 delete (2 in t2 + 2 in t3) # 4 delete (2 in t2 + 2 in t3)
......
...@@ -4916,7 +4916,7 @@ int ha_partition::rnd_pos(uchar * buf, uchar *pos) ...@@ -4916,7 +4916,7 @@ int ha_partition::rnd_pos(uchar * buf, uchar *pos)
file= m_file[part_id]; file= m_file[part_id];
DBUG_ASSERT(bitmap_is_set(&(m_part_info->read_partitions), part_id)); DBUG_ASSERT(bitmap_is_set(&(m_part_info->read_partitions), part_id));
m_last_part= part_id; m_last_part= part_id;
DBUG_RETURN(file->rnd_pos(buf, (pos + PARTITION_BYTES_IN_POS))); DBUG_RETURN(file->ha_rnd_pos(buf, (pos + PARTITION_BYTES_IN_POS)));
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment