~ubuntu-branches/ubuntu/utopic/mariadb-5.5/utopic-security

« back to all changes in this revision

Viewing changes to storage/tokudb/ft-index/ft/rollback.h

  • Committer: Package Import Robot
  • Author(s): Otto Kekäläinen
  • Date: 2014-04-17 20:55:22 UTC
  • mfrom: (2.1.3 sid)
  • Revision ID: package-import@ubuntu.com-20140417205522-wof4l36nxhlkn89m
* New upstream release, fixing the following security issues:
  * Corresponding MariaDB CVEs for Oracle SPU April 2014 (Closes: #745330)
    - CVE-2014-0384 
    - CVE-2014-2419 
    - CVE-2014-2430 
    - CVE-2014-2431 
    - CVE-2014-2432 
    - CVE-2014-2436 
    - CVE-2014-2438 
    - CVE-2014-2440
* Re-enabled TokuDB with "if arch amd64" in d/rules
* Applied patch to log init output better
  (Closes https://mariadb.atlassian.net/browse/MDEV-5957)

Show diffs side-by-side

added added

removed removed

Lines of Context:
103
103
// is a current rollback node to use, pin it, otherwise create one.
104
104
void toku_get_and_pin_rollback_log_for_new_entry(TOKUTXN txn, ROLLBACK_LOG_NODE *log);
105
105
 
106
 
// get a specific rollback by blocknum and hash
107
 
void toku_get_and_pin_rollback_log(TOKUTXN txn, BLOCKNUM blocknum, uint32_t hash, ROLLBACK_LOG_NODE *log);
 
106
// get a specific rollback by blocknum
 
107
void toku_get_and_pin_rollback_log(TOKUTXN txn, BLOCKNUM blocknum, ROLLBACK_LOG_NODE *log);
108
108
 
109
109
// unpin a rollback node from the cachetable
110
110
void toku_rollback_log_unpin(TOKUTXN txn, ROLLBACK_LOG_NODE log);
155
155
    // the sequence is between 0 and totalnodes-1
156
156
    uint64_t           sequence;
157
157
    BLOCKNUM           blocknum; // on which block does this node live?
158
 
    uint32_t           hash;
159
158
    // which block number is the previous in the chain of rollback nodes 
160
159
    // that make up this rollback log?
161
160
    BLOCKNUM           previous; 
162
 
    uint32_t           previous_hash;
163
161
    struct roll_entry *oldest_logentry;
164
162
    struct roll_entry *newest_logentry;
165
163
    MEMARENA           rollentry_arena;