Commit 3a9f1091 authored by Sergei Golubchik's avatar Sergei Golubchik

MDEV-4207 Invalid code in fts_savepoint_release() in InnoDB

parent 0b59e441
...@@ -5348,7 +5348,7 @@ fts_savepoint_release( ...@@ -5348,7 +5348,7 @@ fts_savepoint_release(
/* Swap the entries. */ /* Swap the entries. */
memcpy(&temp, last, sizeof(temp)); memcpy(&temp, last, sizeof(temp));
memcpy(last, prev, sizeof(*last)); memcpy(last, prev, sizeof(*last));
memcpy(prev, &temp, sizeof(prev)); memcpy(prev, &temp, sizeof(*prev));
break; break;
/* Track the previous savepoint instance that will /* Track the previous savepoint instance that will
......
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