Commit 3ab0d2d1 authored by marko's avatar marko

branches/zip: trx_undo_prev_version_build(): Remove a bogus warning

about undo_rec possibly being uninitialized.  When trx_undo_get_undo_rec()
leaves undo_rec uninitialized, both functions will return DB_MISSING_HISTORY
without dereferencing undo_rec.

This closes Mantis issue #7.
parent 468d425d
......@@ -1388,7 +1388,7 @@ trx_undo_prev_version_build(
or if the purge COULD have removed the version
though it has not yet done so */
{
trx_undo_rec_t* undo_rec;
trx_undo_rec_t* undo_rec = NULL;
dtuple_t* entry;
dulint rec_trx_id;
ulint type;
......
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