~ubuntu-branches/ubuntu/vivid/mariadb-5.5/vivid-proposed

« back to all changes in this revision

Viewing changes to storage/tokudb/ft-index/ft/tests/ft-test-header.cc

  • Committer: Package Import Robot
  • Author(s): Otto Kekäläinen
  • Date: 2014-11-14 21:04:24 UTC
  • mfrom: (1.1.6)
  • Revision ID: package-import@ubuntu.com-20141114210424-xlyna0ozl11647o5
Tags: 5.5.40-0ubuntu0.14.10.1
* SECURITY UPDATE: Update to 5.5.40 to fix security issues (LP: #1391676)
  - CVE-2014-6507
  - CVE-2014-6491
  - CVE-2014-6500
  - CVE-2014-6469
  - CVE-2014-6555
  - CVE-2014-6559
  - CVE-2014-6494
  - CVE-2014-6496
  - CVE-2014-6464
* Add bsdutils as mariadb-server dependency like upstream does in 5.5.40.

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
 
30
30
COPYRIGHT NOTICE:
31
31
 
32
 
  TokuDB, Tokutek Fractal Tree Indexing Library.
 
32
  TokuFT, Tokutek Fractal Tree Indexing Library.
33
33
  Copyright (C) 2007-2013 Tokutek, Inc.
34
34
 
35
35
DISCLAIMER:
104
104
    const char *fname = TOKU_TEST_FILENAME;
105
105
 
106
106
    // First create dictionary
107
 
    toku_cachetable_create(&ct, 0, ZERO_LSN, NULL_LOGGER);
 
107
    toku_cachetable_create(&ct, 0, ZERO_LSN, nullptr);
108
108
    unlink(fname);
109
109
    r = toku_open_ft_handle(fname, 1, &t, 1024, 256, TOKU_DEFAULT_COMPRESSION_METHOD, ct, null_txn, toku_builtin_compare_fun);
110
110
    assert(r==0);
122
122
    toku_cachetable_close(&ct);
123
123
 
124
124
    // Now read dictionary back into memory and examine some header fields
125
 
    toku_cachetable_create(&ct, 0, ZERO_LSN, NULL_LOGGER);
 
125
    toku_cachetable_create(&ct, 0, ZERO_LSN, nullptr);
126
126
    r = toku_open_ft_handle(fname, 0, &t, 1024, 256, TOKU_DEFAULT_COMPRESSION_METHOD, ct, null_txn, toku_builtin_compare_fun);
127
127
    assert(r==0);
128
128