ilovejs / leveldb-go

Automatically exported from code.google.com/p/leveldb-go
0 stars 0 forks source link

Fails when trying to Open a new database #10

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
To reproduce:

1. leveldb.db.Open a directory that doesn't exist
2. You will get the following error: "DB Error: leveldb: could not open CURRENT 
file for DB <your directory>: open <your directory>/CURRENT: no such file or 
directory"

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?
The current version (I just did a `go get`) on Ubuntu 12.10

Original issue reported on code.google.com by scienceg...@gmail.com on 8 May 2013 at 2:30

GoogleCodeExporter commented 9 years ago
Yeah, the top-level leveldb package is incomplete (this is issue #4). There is 
an existing TODO to implement Options.CreateIfMissing.

Original comment by nigel...@golang.org on 8 May 2013 at 4:18