1. 21 Dec, 2007 3 commits
    • Yoni Fogel's avatar
      DB_ENV->set_data_dir cleaned up and tightened · 4c90d3a8
      Yoni Fogel authored
      Fixes a bug where I forgot to set the reallocced memory.
      Addresses #42
      
      git-svn-id: file:///svn/tokudb@1305 c7de825b-a66e-492c-adef-691d508d4ae1
      4c90d3a8
    • Yoni Fogel's avatar
      set_data_dir is now additive. · 131ce32d
      Yoni Fogel authored
      DB->open, and DB->remove now use the data dirs
      We look (in order) in each of the data dirs for a file to open/remove.
      The first file found, is the one used (even if another is similarly named with
      different subdbs).
      
      For creating dbs, (if file does not exist in any of the search dirs), we always
      create in the first data dir (or env->i->dir if no data dirs are set).
      
      Addresses #42
      Addresses #108
      
      
      git-svn-id: file:///svn/tokudb@1304 c7de825b-a66e-492c-adef-691d508d4ae1
      131ce32d
    • Yoni Fogel's avatar
      DbEnv.err · 10c82d9f
      Yoni Fogel authored
      DbEnv.set_errfile
      
      toku_db_env_err now writes to the file from set_errfile
      toku_db_env_err calls toku_db_env_err_vararg
      
      Fixed DbException.set_env, and callers of it.
      Modified test1 to not use exceptions, since the test tried to use return codes.
      
      Closes #214
      Addresses #197
      Addresses #215
      
      git-svn-id: file:///svn/tokudb@1303 c7de825b-a66e-492c-adef-691d508d4ae1
      10c82d9f
  2. 20 Dec, 2007 16 commits
  3. 19 Dec, 2007 19 commits
  4. 18 Dec, 2007 2 commits