Skip to content

Commit df1eb3f

Browse files
committed
Fixed mi_test1 and mi_test_all.sh
The mi_rsame() test in mi_test has been broken since MDEV-15458 in 2019. Fixed same was as ma_test1 was fixed.
1 parent 6435aeb commit df1eb3f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

storage/myisam/mi_test1.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,11 @@ static int run_test(const char *filename)
210210
if (!silent)
211211
printf("- Updating rows\n");
212212

213+
create_key(key, j);
214+
if ((mi_rkey(file, read_record, 0, key,
215+
HA_WHOLE_KEY, HA_READ_KEY_EXACT)))
216+
printf("Can't find last written row with mi_rkey\n");
217+
213218
/* Update first last row to force extend of file */
214219
if (mi_rsame(file,read_record,-1))
215220
{

0 commit comments

Comments
 (0)