<feed xmlns='http://www.w3.org/2005/Atom'>
<title>adodb/drivers/adodb-mysqli.inc.php, branch v5.22.8</title>
<subtitle>adodb PHP Database Abstraction Layer
</subtitle>
<id>https://git.rdm1.uk/adodb/.git/atom?h=v5.22.8</id>
<link rel='self' href='https://git.rdm1.uk/adodb/.git/atom?h=v5.22.8'/>
<link rel='alternate' type='text/html' href='https://git.rdm1.uk/adodb/.git/'/>
<updated>2025-01-25T01:03:00Z</updated>
<entry>
<title>mysqli: Improve setConnectionParameter</title>
<updated>2025-01-25T01:03:00Z</updated>
<author>
<name>look-was-here</name>
<email>look.was.here@outlook.com</email>
</author>
<published>2024-09-01T02:49:52Z</published>
<link rel='alternate' type='text/html' href='https://git.rdm1.uk/adodb/.git/commit/?id=8d97170e8016b969505a29b8cd39f001294653a2'/>
<id>urn:sha1:8d97170e8016b969505a29b8cd39f001294653a2</id>
<content type='text'>
- Simplify control statements with single if expressions.
- Updated phpdoc with additional details on how to set connection
  property values.
- Removed to-do that seemed wrong since the user should use
  setConnectionParameter for those or set the property directly.
- Allow setting of ssl cert property values, clientFlags, port, and
  socket using the standard setConnectionParameter functionality.

Feedback updates:
- Return false for special cases with type checks on sslsert, socket,
  clientflags, or port fail
- Added invalid connection param to output.
- Simplified isset checks.
- Changed sslcert to ssl and simplified subkeys to ('key', 'cert', 'ca',
  'capath', 'cipher').
- Removed code duplication.
- is_numeric should be checking value not parameter

Fixes #1044
</content>
</entry>
<entry>
<title>mysql: SSL not working due to wrong socket/flags</title>
<updated>2025-01-25T00:50:42Z</updated>
<author>
<name>look-was-here</name>
<email>look.was.here@outlook.com</email>
</author>
<published>2024-09-10T01:07:34Z</published>
<link rel='alternate' type='text/html' href='https://git.rdm1.uk/adodb/.git/commit/?id=be251d3ff570110b13f6b9577a372c5898980e19'/>
<id>urn:sha1:be251d3ff570110b13f6b9577a372c5898980e19</id>
<content type='text'>
- Remove inappropriate setting of socket.
- Updated to use appropriate bitwise operations to check for set SSL
  client flags and update the default to not overwrite set user flags.
- Add friendly error to let user know they need to add a SSL client flag
  when using certificates.

Fixes #919, #1043

Signed-off-by: Damien Regad &lt;dregad@mantisbt.org&gt;
</content>
</entry>
<entry>
<title>Reset fetch mode before return from MetaColumns()</title>
<updated>2024-05-26T14:14:17Z</updated>
<author>
<name>Damien Regad</name>
<email>dregad@mantisbt.org</email>
</author>
<published>2024-05-26T14:14:17Z</published>
<link rel='alternate' type='text/html' href='https://git.rdm1.uk/adodb/.git/commit/?id=5f589f64cea42c792929832cffe26825831f8c94'/>
<id>urn:sha1:5f589f64cea42c792929832cffe26825831f8c94</id>
<content type='text'>
Commit 249b7fb08569ce576cd1bf26098e00701145c6ec (PR #1017) introduced a
regression caused by returning from the function without resetting
$ADODB_FETCH_MODE to its original value.

Fixes #1016
</content>
</entry>
<entry>
<title>MySQL: allow forcing emulated prepared statements</title>
<updated>2024-04-30T11:48:57Z</updated>
<author>
<name>Paweł Kudzia</name>
<email>30438339+pakud@users.noreply.github.com</email>
</author>
<published>2024-04-28T19:29:42Z</published>
<link rel='alternate' type='text/html' href='https://git.rdm1.uk/adodb/.git/commit/?id=c8bdf383a960037424cee3b68193499c5418ea7d'/>
<id>urn:sha1:c8bdf383a960037424cee3b68193499c5418ea7d</id>
<content type='text'>
ADOdb 5.22.0 introduced use of bound variables and prepared statements,
which broke compatibility with Manticore Search and ClickHouse.

Adding $doNotUseBoundVariables property, allowing to revert to emulated
prepared statements, used in ADODb until v5.21.

Fixes #1028, PR #1029

Co-authored-by: Damien Regad &lt;dregad@mantisbt.org&gt;

Reworded and formatted PHPDoc block, fixed coding guidelines.
</content>
</entry>
<entry>
<title>Catch getAssoc() execution error in metaColumns()</title>
<updated>2024-01-10T18:44:31Z</updated>
<author>
<name>Jessie den Ridder</name>
<email>76940663+JessieDR@users.noreply.github.com</email>
</author>
<published>2023-12-18T15:26:36Z</published>
<link rel='alternate' type='text/html' href='https://git.rdm1.uk/adodb/.git/commit/?id=249b7fb08569ce576cd1bf26098e00701145c6ec'/>
<id>urn:sha1:249b7fb08569ce576cd1bf26098e00701145c6ec</id>
<content type='text'>
When getAssoc() returns false, metaColumns() throws PHP Fatal error on
array_change_key_case, bool given instead of array.

We now check that getAssoc() completed successfully before continuing,
and abort if not.

Fixes #1016

Signed-off-by: Damien Regad &lt;dregad@mantisbt.org&gt;
</content>
</entry>
<entry>
<title>Fix mysqli bulkBind reset after one call</title>
<updated>2023-11-01T13:54:02Z</updated>
<author>
<name>Sidney Beck Nys</name>
<email>sb@ipwsystems.dk</email>
</author>
<published>2023-10-05T12:47:56Z</published>
<link rel='alternate' type='text/html' href='https://git.rdm1.uk/adodb/.git/commit/?id=4b5f56ee5193e0f0e64711dfba226eabd7260d55'/>
<id>urn:sha1:4b5f56ee5193e0f0e64711dfba226eabd7260d55</id>
<content type='text'>
Stored the current bulkBind value in a variable so $this-&gt;bulkBind can
be reset after being set to false.

Fixes #1000 (PR #1300)
</content>
</entry>
<entry>
<title>Fail connection if mysqlnd is not available</title>
<updated>2023-05-24T10:03:03Z</updated>
<author>
<name>Damien Regad</name>
<email>dregad@mantisbt.org</email>
</author>
<published>2023-05-12T15:52:55Z</published>
<link rel='alternate' type='text/html' href='https://git.rdm1.uk/adodb/.git/commit/?id=39f0c31b6fa5a12ee346797cd75cd65c5780850d'/>
<id>urn:sha1:39f0c31b6fa5a12ee346797cd75cd65c5780850d</id>
<content type='text'>
Since 5.22.0, the mysqli driver relies on the mysqli_stmt_get_result()
function, which is only available in the MySQL Native Driver, to execute
queries.

An attempt to connect on a system using libmysqlclient should fail with
an error message, to avoid problems down the line.

Fixes #967
</content>
</entry>
<entry>
<title>PHPDoc: ADODB_mysqli::setCharSet() is deprecated</title>
<updated>2023-05-22T11:34:55Z</updated>
<author>
<name>Damien Regad</name>
<email>dregad@mantisbt.org</email>
</author>
<published>2023-05-22T11:34:55Z</published>
<link rel='alternate' type='text/html' href='https://git.rdm1.uk/adodb/.git/commit/?id=c332300e85919cdec959593a2e5d07e9bd1549e7'/>
<id>urn:sha1:c332300e85919cdec959593a2e5d07e9bd1549e7</id>
<content type='text'>
As mentioned in the documentation [1], function is deprecated for MySQL
databases since version 5.21.

[1]: https://adodb.org/dokuwiki/doku.php?id=v5:reference:connection:setcharset
</content>
</entry>
<entry>
<title>Define ADOConnection::_query() method</title>
<updated>2023-04-29T23:00:55Z</updated>
<author>
<name>Damien Regad</name>
<email>dregad@mantisbt.org</email>
</author>
<published>2023-04-29T23:00:55Z</published>
<link rel='alternate' type='text/html' href='https://git.rdm1.uk/adodb/.git/commit/?id=ae2438b731d24bf0bb159a738599b9266120e96e'/>
<id>urn:sha1:ae2438b731d24bf0bb159a738599b9266120e96e</id>
<content type='text'>
- Update child classes to be consistent with this declaration.
- Remove unnecessary, non-PHPDoc comments
- Consistent parameter names

Fixes #966
</content>
</entry>
<entry>
<title>PHPDoc: fix ADOConnection::execute() return type</title>
<updated>2023-04-29T22:51:47Z</updated>
<author>
<name>Damien Regad</name>
<email>dregad@mantisbt.org</email>
</author>
<published>2023-04-29T22:51:47Z</published>
<link rel='alternate' type='text/html' href='https://git.rdm1.uk/adodb/.git/commit/?id=aef9e9459712c9da90e9d83f1f4e7b8f21245a56'/>
<id>urn:sha1:aef9e9459712c9da90e9d83f1f4e7b8f21245a56</id>
<content type='text'>
Remove redundant PHPDoc block in child classes ADODB_mysqli, ADODB_oci8.

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