Skip to content

fix for Queue and Recno db_put function to work on Debian Squeeze amd64 #6

Description

in ext/bdb.c function db_put:

change this:
if ( flags & DB_APPEND == DB_APPEND ) {
VALUE str = rb_str_new(key.data,key.size);
if (key.data) free(key.data);
return str;
}

to this:
if ( (flags & DB_APPEND )== DB_APPEND ) {
VALUE str = rb_str_new(key.data,key.size);
/* if (key.data) free(key.data); */
return str;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions