<feed xmlns='http://www.w3.org/2005/Atom'>
<title>adodb, branch v5.22.5</title>
<subtitle>adodb PHP Database Abstraction Layer
</subtitle>
<id>https://git.rdm1.uk/adodb/.git/atom?h=v5.22.5</id>
<link rel='self' href='https://git.rdm1.uk/adodb/.git/atom?h=v5.22.5'/>
<link rel='alternate' type='text/html' href='https://git.rdm1.uk/adodb/.git/'/>
<updated>2023-04-03T21:41:29Z</updated>
<entry>
<title>Bump version to 5.22.5</title>
<updated>2023-04-03T21:41:29Z</updated>
<author>
<name>Damien Regad</name>
<email>dregad@mantisbt.org</email>
</author>
<published>2023-04-03T21:41:29Z</published>
<link rel='alternate' type='text/html' href='https://git.rdm1.uk/adodb/.git/commit/?id=bacd08a8232b6d941b9902f02d323f53de81fafe'/>
<id>urn:sha1:bacd08a8232b6d941b9902f02d323f53de81fafe</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Update Changelog</title>
<updated>2023-04-03T21:40:38Z</updated>
<author>
<name>Damien Regad</name>
<email>dregad@mantisbt.org</email>
</author>
<published>2023-04-03T21:40:33Z</published>
<link rel='alternate' type='text/html' href='https://git.rdm1.uk/adodb/.git/commit/?id=9a03efe392cda2d098dd55b2e6aff79a5061fe35'/>
<id>urn:sha1:9a03efe392cda2d098dd55b2e6aff79a5061fe35</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix exception when executing empty SQL on PHP 8</title>
<updated>2023-04-03T21:33:49Z</updated>
<author>
<name>Damien Regad</name>
<email>dregad@mantisbt.org</email>
</author>
<published>2023-04-03T21:31:18Z</published>
<link rel='alternate' type='text/html' href='https://git.rdm1.uk/adodb/.git/commit/?id=577c9adfeeb1eb35f241ef168f22715b878c3424'/>
<id>urn:sha1:577c9adfeeb1eb35f241ef168f22715b878c3424</id>
<content type='text'>
When calling execute() with an empty SQL query on MySQL, PHP throws an
Exception:

ValueError: mysqli_query(): Argument #2 ($query) cannot be empty

We now check that $sql is not empty, and if it is just return false.

Fixes #945

Back-ported from commit 8c57976eaf2f4cf9a71cc7fb88edb1d7b90b00ce.

# Conflicts:
#	drivers/adodb-mysqli.inc.php
</content>
</entry>
<entry>
<title>Remove useless variables and comments</title>
<updated>2023-03-25T21:06:33Z</updated>
<author>
<name>Damien Regad</name>
<email>dregad@mantisbt.org</email>
</author>
<published>2023-03-25T21:06:33Z</published>
<link rel='alternate' type='text/html' href='https://git.rdm1.uk/adodb/.git/commit/?id=87437cfe7a7ef237119b2dc1f59bddc51aac38f7'/>
<id>urn:sha1:87437cfe7a7ef237119b2dc1f59bddc51aac38f7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Whitespace</title>
<updated>2023-03-25T21:04:03Z</updated>
<author>
<name>Damien Regad</name>
<email>dregad@mantisbt.org</email>
</author>
<published>2023-03-25T21:04:03Z</published>
<link rel='alternate' type='text/html' href='https://git.rdm1.uk/adodb/.git/commit/?id=780fe662aed3a3bfc556df128e75dd60322629b4'/>
<id>urn:sha1:780fe662aed3a3bfc556df128e75dd60322629b4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>PHPDoc</title>
<updated>2023-03-25T21:01:29Z</updated>
<author>
<name>Damien Regad</name>
<email>dregad@mantisbt.org</email>
</author>
<published>2023-03-25T21:01:29Z</published>
<link rel='alternate' type='text/html' href='https://git.rdm1.uk/adodb/.git/commit/?id=fc46c8da8f27175a59d468fe39e445941857fa00'/>
<id>urn:sha1:fc46c8da8f27175a59d468fe39e445941857fa00</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Move MySQL BINARY to expression right-hand side</title>
<updated>2023-03-25T12:58:15Z</updated>
<author>
<name>Damien Regad</name>
<email>dregad@mantisbt.org</email>
</author>
<published>2023-03-25T12:58:15Z</published>
<link rel='alternate' type='text/html' href='https://git.rdm1.uk/adodb/.git/commit/?id=09748995a96586348715049be1706f09a57d7478'/>
<id>urn:sha1:09748995a96586348715049be1706f09a57d7478</id>
<content type='text'>
Having it on the left-hand side prevented usage of the index, so a full
table scan was performed with significant performance impact when a
large number of sessions are stored in the table.

Fixes #941
</content>
</entry>
<entry>
<title>Fix inconsistent DB provider check in ADODB_Session</title>
<updated>2023-03-25T12:54:17Z</updated>
<author>
<name>Damien Regad</name>
<email>dregad@mantisbt.org</email>
</author>
<published>2023-03-25T12:54:17Z</published>
<link rel='alternate' type='text/html' href='https://git.rdm1.uk/adodb/.git/commit/?id=46f1c61177bbd12ef681a50b1c3a7961e8ec3995'/>
<id>urn:sha1:46f1c61177bbd12ef681a50b1c3a7961e8ec3995</id>
<content type='text'>
Introduce a new class property to store the database provider, populated
when opening the connection, and handling the PDO drivers specificities.

New isConnectionMysql() and isConnectionPostgres() methods are replacing
tests against $conn-&gt;dataProvider or ADODB_Session::driver(), ensuring
a consistent check of the database type.

Fixes #943
</content>
</entry>
<entry>
<title>Fix invalid markdown in 5.20.16 changelog</title>
<updated>2023-03-20T17:14:38Z</updated>
<author>
<name>Damien Regad</name>
<email>dregad@mantisbt.org</email>
</author>
<published>2023-03-20T17:14:38Z</published>
<link rel='alternate' type='text/html' href='https://git.rdm1.uk/adodb/.git/commit/?id=d2c47fff971d883096ed56cacd8957cb4a88c42c'/>
<id>urn:sha1:d2c47fff971d883096ed56cacd8957cb4a88c42c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix PHP warning in ADODB_postgres64::MetaIndexes()</title>
<updated>2023-03-20T17:11:42Z</updated>
<author>
<name>Damien Regad</name>
<email>dregad@mantisbt.org</email>
</author>
<published>2023-03-20T17:11:42Z</published>
<link rel='alternate' type='text/html' href='https://git.rdm1.uk/adodb/.git/commit/?id=07ade94036c18c7c93dfe742abbeac99a6f2f09f'/>
<id>urn:sha1:07ade94036c18c7c93dfe742abbeac99a6f2f09f</id>
<content type='text'>
When calling the function on a table having an index on an expression
column, a PHP warning is thrown:

Undefined array key 0 in ./drivers/adodb-postgres64.inc.php on line 666

Fixes #940
</content>
</entry>
</feed>
