<feed xmlns='http://www.w3.org/2005/Atom'>
<title>samba.git/source4/lib/tdb, branch master</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pviktori/public_git/samba.git/'/>
<entry>
<title>Use single copy of tdb in both samba3 and samba4.</title>
<updated>2008-09-16T13:16:31+00:00</updated>
<author>
<name>Jelmer Vernooij</name>
<email>jelmer@samba.org</email>
</author>
<published>2008-09-16T13:16:31+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pviktori/public_git/samba.git/commit/?id=7111645d3c46e55b2c180e3db0ba8a3c670a3c31'/>
<id>7111645d3c46e55b2c180e3db0ba8a3c670a3c31</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove unecessary msync.</title>
<updated>2008-09-14T17:20:09+00:00</updated>
<author>
<name>Jeremy Allison</name>
<email>jra@samba.org</email>
</author>
<published>2008-09-05T22:32:22+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pviktori/public_git/samba.git/commit/?id=a1cf3ad5d655cf5a847df6d6299b3af1a30ec1e3'/>
<id>a1cf3ad5d655cf5a847df6d6299b3af1a30ec1e3</id>
<content type='text'>
Jeremy.
(cherry picked from commit 0bae1ef3de8fda5e1e2d641b14a408e627396912)
(This used to be commit db2acaf46fdc38078b6b28b68909e289f6c9e0ec)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Jeremy.
(cherry picked from commit 0bae1ef3de8fda5e1e2d641b14a408e627396912)
(This used to be commit db2acaf46fdc38078b6b28b68909e289f6c9e0ec)
</pre>
</div>
</content>
</entry>
<entry>
<title>The msync manpage reports that msync *must* be called before munmap. Failure to do so may result in lost data. Fix an ifdef check, I really think we meant to check HAVE_MMAP here.</title>
<updated>2008-09-14T17:19:55+00:00</updated>
<author>
<name>Simo Sorce</name>
<email>idra@samba.org</email>
</author>
<published>2008-09-03T14:44:09+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pviktori/public_git/samba.git/commit/?id=b39e332bd7803dd4ce8267f750c497b5deb837ee'/>
<id>b39e332bd7803dd4ce8267f750c497b5deb837ee</id>
<content type='text'>
(cherry picked from commit 74c8575b3f3b90ea21ae6aa7ccd95947838af956)
(This used to be commit 8fd54bb55f0c23bd025d1719abcbe75c6a2ea8ac)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(cherry picked from commit 74c8575b3f3b90ea21ae6aa7ccd95947838af956)
(This used to be commit 8fd54bb55f0c23bd025d1719abcbe75c6a2ea8ac)
</pre>
</div>
</content>
</entry>
<entry>
<title>Attempt to fix bug 5684</title>
<updated>2008-09-14T17:19:45+00:00</updated>
<author>
<name>Volker Lendecke</name>
<email>vl@samba.org</email>
</author>
<published>2008-08-12T20:31:52+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pviktori/public_git/samba.git/commit/?id=8c88209c6f4b57b0dbe1459bd5bc583c5d321758'/>
<id>8c88209c6f4b57b0dbe1459bd5bc583c5d321758</id>
<content type='text'>
With the ctdb checkin dde9f3f006 tdb optimized out write lock checks for
write-enabled transaction. Sadly, this also removed the possibility to ever
remove dead records left over from tdb_delete calls within a transaction.

Tridge, please check this! Did dde9f3f006 have any reason beyond performance
optimizations?

Thanks,

Volker
(cherry picked from commit 3f884c4ae36f3260e63626bdd4989d9258ae6497)
(This used to be commit 1d85e0647e287d269b3f6b534da88f497d6f76c3)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
With the ctdb checkin dde9f3f006 tdb optimized out write lock checks for
write-enabled transaction. Sadly, this also removed the possibility to ever
remove dead records left over from tdb_delete calls within a transaction.

Tridge, please check this! Did dde9f3f006 have any reason beyond performance
optimizations?

Thanks,

Volker
(cherry picked from commit 3f884c4ae36f3260e63626bdd4989d9258ae6497)
(This used to be commit 1d85e0647e287d269b3f6b534da88f497d6f76c3)
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "tdbtool: fix off-by-one error in argument length. (bug #2344)"</title>
<updated>2008-07-09T10:57:56+00:00</updated>
<author>
<name>Michael Adam</name>
<email>obnox@samba.org</email>
</author>
<published>2008-07-09T10:48:05+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pviktori/public_git/samba.git/commit/?id=1db2c047276fd9ba491c2ae45b81b50c6721b6b2'/>
<id>1db2c047276fd9ba491c2ae45b81b50c6721b6b2</id>
<content type='text'>
This reverts commit fafb8ad2b81b9a46cf8259bedc1dca5023b06115.

This fix is not valid:

1. convert_string() is not only used for key strings but also for data.

2. Some databases use string_tdb_data() i.e. non-null-terminated strings
   as keynames and others (like the one I was using), use
   string_term_tdb_data(), i.e. zero-terminated key strings.

After discussion with Metze, the easiest (and proper way) to
handle this is to specify key names as "keyname\0" for databases
which use string_term_tdb_data().

Sorry for the noise...

Michael
(This used to be commit 17c012c4645f4e9542537c15f80d9b4e74304d11)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit fafb8ad2b81b9a46cf8259bedc1dca5023b06115.

This fix is not valid:

1. convert_string() is not only used for key strings but also for data.

2. Some databases use string_tdb_data() i.e. non-null-terminated strings
   as keynames and others (like the one I was using), use
   string_term_tdb_data(), i.e. zero-terminated key strings.

After discussion with Metze, the easiest (and proper way) to
handle this is to specify key names as "keyname\0" for databases
which use string_term_tdb_data().

Sorry for the noise...

Michael
(This used to be commit 17c012c4645f4e9542537c15f80d9b4e74304d11)
</pre>
</div>
</content>
</entry>
<entry>
<title>tdbtool: fix off-by-one error in argument length. (bug #2344)</title>
<updated>2008-07-08T14:02:33+00:00</updated>
<author>
<name>Michael Adam</name>
<email>obnox@samba.org</email>
</author>
<published>2008-07-08T13:33:36+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pviktori/public_git/samba.git/commit/?id=6ae40a8b74aadcd6f1ead5c141e39c160b773546'/>
<id>6ae40a8b74aadcd6f1ead5c141e39c160b773546</id>
<content type='text'>
This prevented all commands operating on keys (all non-traverse commands)
in tdbtool to fail with a "fetch failed" or "delete failed" message.

It seems that it fixes bug #2344 ...

Apparently this bug was introduced with 94e53472666ed in 2005.
Either nobody is using tdbtool or else tdb_find() has become
more strict about the key legth in the meantime. :-)

Michael
(This used to be commit fafb8ad2b81b9a46cf8259bedc1dca5023b06115)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This prevented all commands operating on keys (all non-traverse commands)
in tdbtool to fail with a "fetch failed" or "delete failed" message.

It seems that it fixes bug #2344 ...

Apparently this bug was introduced with 94e53472666ed in 2005.
Either nobody is using tdbtool or else tdb_find() has become
more strict about the key legth in the meantime. :-)

Michael
(This used to be commit fafb8ad2b81b9a46cf8259bedc1dca5023b06115)
</pre>
</div>
</content>
</entry>
<entry>
<title>Use variables for source dir of python tdb bindings.</title>
<updated>2008-06-11T00:47:09+00:00</updated>
<author>
<name>Jelmer Vernooij</name>
<email>jelmer@samba.org</email>
</author>
<published>2008-06-11T00:47:09+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pviktori/public_git/samba.git/commit/?id=3fe58d839afd7b19cec33d84ba12a9e892ca5590'/>
<id>3fe58d839afd7b19cec33d84ba12a9e892ca5590</id>
<content type='text'>
(This used to be commit 22e7bcfbe4534c070ac2dd5f39773ea023dfa7f7)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(This used to be commit 22e7bcfbe4534c070ac2dd5f39773ea023dfa7f7)
</pre>
</div>
</content>
</entry>
<entry>
<title>Add more docstrings in tdb.</title>
<updated>2008-06-08T02:20:26+00:00</updated>
<author>
<name>Jelmer Vernooij</name>
<email>jelmer@samba.org</email>
</author>
<published>2008-06-08T02:20:26+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pviktori/public_git/samba.git/commit/?id=cad533c68e8100131dca364b76abdedac31f4184'/>
<id>cad533c68e8100131dca364b76abdedac31f4184</id>
<content type='text'>
(This used to be commit 3d798a1440603b7929955f2120f09ba1482885a1)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(This used to be commit 3d798a1440603b7929955f2120f09ba1482885a1)
</pre>
</div>
</content>
</entry>
<entry>
<title>Add some docstrings to tdb.</title>
<updated>2008-05-22T22:36:48+00:00</updated>
<author>
<name>Jelmer Vernooij</name>
<email>jelmer@samba.org</email>
</author>
<published>2008-05-22T15:26:55+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pviktori/public_git/samba.git/commit/?id=66762985e78f6f717658489b6618cb515ca6db71'/>
<id>66762985e78f6f717658489b6618cb515ca6db71</id>
<content type='text'>
(This used to be commit 3563d62663c36ff267011f1f6f9b256be21c32fb)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(This used to be commit 3563d62663c36ff267011f1f6f9b256be21c32fb)
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix CFLAGS for SWIG files.</title>
<updated>2008-05-22T00:13:26+00:00</updated>
<author>
<name>Jelmer Vernooij</name>
<email>jelmer@samba.org</email>
</author>
<published>2008-05-22T00:13:26+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pviktori/public_git/samba.git/commit/?id=5ce59419a07c8e147daf51b77ffe2117f3d6a505'/>
<id>5ce59419a07c8e147daf51b77ffe2117f3d6a505</id>
<content type='text'>
(This used to be commit 8ee4f075046e0b181ec8a4ac1eaf3ea5621a56bf)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(This used to be commit 8ee4f075046e0b181ec8a4ac1eaf3ea5621a56bf)
</pre>
</div>
</content>
</entry>
</feed>
