[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#8480) running sample-mdb without ./testdb/



gp.ciceri@gmail.com wrote:
> Full_Name: gian paolo ciceri
> Version: lmdb 0.9.18
> OS: OSX
> URL: ftp://ftp.openldap/org/incoming
> Submission from: (NULL) (5.170.1.95)
>
>
> With lmdb (fresh git clone), if you run the standard sample-mdb.c example
> program WITHOUT creating the ./testdb/ directory for the database before, you
> take error 2 No such file or directory after the open. OK, but if you still
> proceed to the begin the transaction, you take a segmentation fault 11: there's
> what gdb says
>
There is no sample-mdb.c in a fresh git clone. There is a sample-mdb.txt. It 
is a text file, which you are expected to read, not run blindly.

Closing this ITS.

-- 
   -- Howard Chu
   CTO, Symas Corp.           http://www.symas.com
   Director, Highland Sun     http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP  http://www.openldap.org/project/