mirror of
https://github.com/MariaDB/server.git
synced 2025-03-27 17:38:45 +01:00
![]() table->move_fields has some limitations: 1. It cannot be used in cascade 2. It should always have a restoring pair In this case, an error has occurred before the field ptr was restored, returning from the function in that state. Even in case of an error, the table can be reused afterwards and table->field[i]->ptr is not reset in between. The solution is to restore the field pointers immanently whenever they've been deviated. Also add an assertion that ensures that table fields are restored after the use in close_thread_tables. |
||
---|---|---|
.. | ||
maxdb | ||
mssql | ||
oracle |