|
|
@ -64,6 +64,7 @@ static void readhdr(void) |
|
|
|
{ |
|
|
|
{ |
|
|
|
char *ptr; |
|
|
|
char *ptr; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
flags = 0; |
|
|
|
while (fgets(dbuf.mv_data, dbuf.mv_size, stdin) != NULL) { |
|
|
|
while (fgets(dbuf.mv_data, dbuf.mv_size, stdin) != NULL) { |
|
|
|
lineno++; |
|
|
|
lineno++; |
|
|
|
if (!strncmp(dbuf.mv_data, "VERSION=", STRLENOF("VERSION="))) { |
|
|
|
if (!strncmp(dbuf.mv_data, "VERSION=", STRLENOF("VERSION="))) { |
|
|
@ -371,7 +372,6 @@ int main(int argc, char *argv[]) |
|
|
|
while(!Eof) { |
|
|
|
while(!Eof) { |
|
|
|
MDB_val key, data; |
|
|
|
MDB_val key, data; |
|
|
|
int batch = 0; |
|
|
|
int batch = 0; |
|
|
|
flags = 0; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (!dohdr) { |
|
|
|
if (!dohdr) { |
|
|
|
dohdr = 1; |
|
|
|
dohdr = 1; |
|
|
|