~ubuntu-branches/ubuntu/edgy/rpm/edgy

« back to all changes in this revision

Viewing changes to db/perl.BerkeleyDB/Todo

  • Committer: Bazaar Package Importer
  • Author(s): Joey Hess
  • Date: 2002-01-22 20:56:57 UTC
  • Revision ID: james.westby@ubuntu.com-20020122205657-l74j50mr9z8ofcl5
Tags: upstream-4.0.3
ImportĀ upstreamĀ versionĀ 4.0.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
  * Proper documentation.
 
3
 
 
4
  * address or document the "close all cursors if you encounter an error"
 
5
 
 
6
  * Change the $BerkeleyDB::Error to store the info in the db object,
 
7
    if possible.
 
8
 
 
9
  * $BerkeleyDB::db_version is documented. &db_version isn't.
 
10
 
 
11
  * migrate perl code into the .xs file where necessary
 
12
 
 
13
  * convert as many of the DB examples files to BerkeleyDB format.
 
14
 
 
15
  * add a method to the DB object to allow access to the environment (if there
 
16
    actually is one).
 
17
 
 
18
 
 
19
Possibles
 
20
 
 
21
  * use '~' magic to store the inner data.
 
22
 
 
23
  * for the get stuff zap the value to undef if it doesn't find the
 
24
    key. This may be more intuitive for those folks who are used with
 
25
    the $hash{key} interface.
 
26
 
 
27
  * Text interface? This can be done as via Recno
 
28
 
 
29
  * allow recno to allow base offset for arrays to be either 0 or 1.
 
30
 
 
31
  * when duplicate keys are enabled, allow db_put($key, [$val1, $val2,...]) 
 
32
 
 
33
 
 
34
2.x -> 3.x Upgrade
 
35
==================
 
36
 
 
37
Environment Verbose
 
38
Env->open mode
 
39
DB cache size extra parameter
 
40
DB->open subdatabases   Done
 
41
An empty environment causes DB->open to fail
 
42
where is __db.001 coming from? db_remove seems to create it. Bug in 3.0.55
 
43
Change db_strerror for 0 to ""? Done
 
44
Queue   Done
 
45
db_stat for Hash & Queue        Done
 
46
No TxnMgr
 
47
DB->remove
 
48
ENV->remove
 
49
ENV->set_verbose
 
50
upgrade
 
51
 
 
52
    $env = BerkeleyDB::Env::Create
 
53
    $env = create BerkeleyDB::Env
 
54
    $status = $env->open()
 
55
 
 
56
    $db = BerkeleyDB::Hash::Create
 
57
    $status = $db->open()