1. 21 Dec, 2007 2 commits
    • Yoni Fogel's avatar
      set_data_dir is now additive. · d9a3af8b
      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
      d9a3af8b
    • Yoni Fogel's avatar
      DbEnv.err · 122e608f
      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
      122e608f
  2. 20 Dec, 2007 16 commits
  3. 19 Dec, 2007 19 commits
  4. 18 Dec, 2007 3 commits