1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00

Fixed that ma_test_all.sh works

Updated ma_test1 to reflect the change from MDEV-15458 where
ma_write() doesn't update current record position anymore.
This commit is contained in:
Michael Widenius
2019-06-14 10:07:23 +03:00
parent 86faa98bd7
commit fb5ee3ff96

View File

@@ -292,6 +292,11 @@ static int run_test(const char *filename)
if (!silent)
printf("- Updating rows\n");
create_key(key, j);
if ((maria_rkey(file, read_record, 0, key,
HA_WHOLE_KEY, HA_READ_KEY_EXACT)))
printf("Can't find last written row with maria_rkey\n");
/* Update first last row to force extend of file */
if (maria_rsame(file,read_record,-1))
{