FIXED: fixed bug in NOTEDB::mysql, which caused note t store NULL values

in db, if encryption was off. A really dump failure :-(
This commit is contained in:
TLINDEN
2012-02-10 20:13:51 +01:00
parent 4a5dd8c4bd
commit 2287e23f35
6 changed files with 36 additions and 11 deletions

View File

@@ -1,5 +1,5 @@
#!/usr/bin/perl
# $Id: binary.pm,v 1.4 2000/04/17 17:39:27 thomas Exp thomas $
# $Id: binary.pm,v 1.5 2000/04/26 22:57:38 thomas Exp thomas $
# Perl module for note
# binary database backend. see docu: perldoc NOTEDB::binary
#
@@ -25,7 +25,7 @@ BEGIN {
my ($NOTEDB, $sizeof, $typedef,$version);
my ($cipher);
$version = "(NOTEDB::binary, 1.4)";
$version = "(NOTEDB::binary, 1.5)";
sub new
@@ -348,6 +348,13 @@ NOTEDB::binary - module lib for accessing a notedb from perl
# delete a certain note
$db->set_del(5);
# turn on encryption. CryptMethod must be IDEA, DES or BLOWFISH
$db->use_crypt("passphrase", "CryptMethod");
# turn off encryption. This is the default.
$db->no_crypt();
=head1 DESCRIPTION
You can use this module for accessing a note database. There are currently