<feed xmlns='http://www.w3.org/2005/Atom'>
<title>adodb/adodb-memcache.lib.inc.php, branch v5.22.11-lsc</title>
<subtitle>adodb PHP Database Abstraction Layer
</subtitle>
<id>https://git.rdm1.uk/adodb/.git/atom?h=v5.22.11-lsc</id>
<link rel='self' href='https://git.rdm1.uk/adodb/.git/atom?h=v5.22.11-lsc'/>
<link rel='alternate' type='text/html' href='https://git.rdm1.uk/adodb/.git/'/>
<updated>2022-03-30T08:38:22Z</updated>
<entry>
<title>memcache: use default port in server controller template</title>
<updated>2022-03-30T08:38:22Z</updated>
<author>
<name>Damien Regad</name>
<email>dregad@mantisbt.org</email>
</author>
<published>2022-03-29T15:03:00Z</published>
<link rel='alternate' type='text/html' href='https://git.rdm1.uk/adodb/.git/commit/?id=4cd1639371db8aa4fa2cd700f6f9c4b168d5f5b6'/>
<id>urn:sha1:4cd1639371db8aa4fa2cd700f6f9c4b168d5f5b6</id>
<content type='text'>
Fixes #824
</content>
</entry>
<entry>
<title>Remove unnecessary ternary operator</title>
<updated>2022-03-30T08:38:22Z</updated>
<author>
<name>Damien Regad</name>
<email>dregad@mantisbt.org</email>
</author>
<published>2022-03-29T10:18:18Z</published>
<link rel='alternate' type='text/html' href='https://git.rdm1.uk/adodb/.git/commit/?id=b6e4a57a16d87541ee134f9c1ab8a9d878a28236'/>
<id>urn:sha1:b6e4a57a16d87541ee134f9c1ab8a9d878a28236</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove references to 'key' option</title>
<updated>2022-03-30T08:38:22Z</updated>
<author>
<name>Damien Regad</name>
<email>dregad@mantisbt.org</email>
</author>
<published>2022-03-29T10:17:43Z</published>
<link rel='alternate' type='text/html' href='https://git.rdm1.uk/adodb/.git/commit/?id=7deaef7e75a956feeb7288e98850066afa405b48'/>
<id>urn:sha1:7deaef7e75a956feeb7288e98850066afa405b48</id>
<content type='text'>
This was introduced in f24142da4e2237e39c9a98d6de0b3665fcf95db9 (#676).

It is part of a future improvement to the Memcache library, that should
not have been merged into the 5.22 release [1].

[1]: https://github.com/ADOdb/ADOdb/pull/816#issuecomment-1076967876
</content>
</entry>
<entry>
<title>Fix $memCacheCompress option ignored by memcached</title>
<updated>2022-03-30T08:38:22Z</updated>
<author>
<name>Damien Regad</name>
<email>dregad@mantisbt.org</email>
</author>
<published>2022-03-22T09:42:45Z</published>
<link rel='alternate' type='text/html' href='https://git.rdm1.uk/adodb/.git/commit/?id=03d288daba769c73acb1cf3d7126b06083f48744'/>
<id>urn:sha1:03d288daba769c73acb1cf3d7126b06083f48744</id>
<content type='text'>
- Use assignment instead of comparison operator
- Allow disabling compression

Fixes #823
</content>
</entry>
<entry>
<title>Refactor: add new isLibMemcached() method</title>
<updated>2022-03-30T08:38:22Z</updated>
<author>
<name>Damien Regad</name>
<email>dregad@mantisbt.org</email>
</author>
<published>2022-03-21T09:49:42Z</published>
<link rel='alternate' type='text/html' href='https://git.rdm1.uk/adodb/.git/commit/?id=94e37d98eb958dbe832f7752a597d80c6e7f6183'/>
<id>urn:sha1:94e37d98eb958dbe832f7752a597d80c6e7f6183</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Memcached connection never adds server controllers</title>
<updated>2022-03-30T08:38:22Z</updated>
<author>
<name>Damien Regad</name>
<email>dregad@mantisbt.org</email>
</author>
<published>2022-03-21T09:11:04Z</published>
<link rel='alternate' type='text/html' href='https://git.rdm1.uk/adodb/.git/commit/?id=8c555c712e07162031e8fc48212d973563d569bb'/>
<id>urn:sha1:8c555c712e07162031e8fc48212d973563d569bb</id>
<content type='text'>
When connecting to Memcached, the code checks for existing connections
and uses that if present.

Problem is that getServerList() returns an empty array when there are
none, so the is_array() test is always true and connect() returned true
without ever adding the configured server controllers.

Fixes #807
</content>
</entry>
<entry>
<title>memcache: fix server controllers initialization</title>
<updated>2022-03-30T08:38:22Z</updated>
<author>
<name>Damien Regad</name>
<email>dregad@mantisbt.org</email>
</author>
<published>2022-03-21T08:58:19Z</published>
<link rel='alternate' type='text/html' href='https://git.rdm1.uk/adodb/.git/commit/?id=3e2d00be07d237b9ff47ed54aadcc7c3bc105cd6'/>
<id>urn:sha1:3e2d00be07d237b9ff47ed54aadcc7c3bc105cd6</id>
<content type='text'>
Flawed logic caused the $serverControllers property to be set with an
incorrect structure when using the "new" memCacheHost format ('host'
would contain an array instead of the hostname/ip), leading to a
PHP Fatal error when adding the server:

Uncaught TypeError: Memcached::addServer(): Argument 1 ($host) must be
of type string, array given

Fixes #807
</content>
</entry>
<entry>
<title>Fix PHPStorm warnings</title>
<updated>2022-03-30T08:38:22Z</updated>
<author>
<name>Damien Regad</name>
<email>dregad@mantisbt.org</email>
</author>
<published>2022-03-20T12:02:37Z</published>
<link rel='alternate' type='text/html' href='https://git.rdm1.uk/adodb/.git/commit/?id=16c738c2652ffa0b0602f052fdf72dfd183c63c0'/>
<id>urn:sha1:16c738c2652ffa0b0602f052fdf72dfd183c63c0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove duplicate/unused $memCacheLibrary property</title>
<updated>2022-03-30T08:38:22Z</updated>
<author>
<name>Damien Regad</name>
<email>dregad@mantisbt.org</email>
</author>
<published>2022-03-20T11:59:52Z</published>
<link rel='alternate' type='text/html' href='https://git.rdm1.uk/adodb/.git/commit/?id=5fe44f1f7847458654177cbeedd7be7d6bc7efcf'/>
<id>urn:sha1:5fe44f1f7847458654177cbeedd7be7d6bc7efcf</id>
<content type='text'>
Both $memcacheLibrary and $memCacheLibrary properties were declared,
but only the former was being used.
</content>
</entry>
<entry>
<title>PHPDoc</title>
<updated>2022-03-30T08:38:22Z</updated>
<author>
<name>Damien Regad</name>
<email>dregad@mantisbt.org</email>
</author>
<published>2022-03-20T11:57:51Z</published>
<link rel='alternate' type='text/html' href='https://git.rdm1.uk/adodb/.git/commit/?id=5c0a3a6bca0cc87587b4d6307700fd69a1a460d9'/>
<id>urn:sha1:5c0a3a6bca0cc87587b4d6307700fd69a1a460d9</id>
<content type='text'>
</content>
</entry>
</feed>
