<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/qt5/qtbase.git/tests/auto/sql/kernel/qsqlquery, branch dev</title>
<subtitle>code.qt.io: qt/qtbase.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/qt5/qtbase.git/'/>
<entry>
<title>SQL/Tests: make sure created procedures are cleaned up on exit</title>
<updated>2023-04-15T11:56:21+00:00</updated>
<author>
<name>Christian Ehrlicher</name>
<email>ch.ehrlicher@gmx.de</email>
</author>
<published>2023-04-07T15:48:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/qt5/qtbase.git/commit/?id=d9bd46b2b833ce7cf026e1cd462885bde22f5552'/>
<id>d9bd46b2b833ce7cf026e1cd462885bde22f5552</id>
<content type='text'>
Similar to TableScope - create a helper class to make sure the
procedures are cleaned up on exit so they don't affect the result during
the next test run.

Change-Id: Ic5b02ca63e03f330392797ed22313767557fc548
Reviewed-by: Volker Hilsheimer &lt;volker.hilsheimer@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Similar to TableScope - create a helper class to make sure the
procedures are cleaned up on exit so they don't affect the result during
the next test run.

Change-Id: Ic5b02ca63e03f330392797ed22313767557fc548
Reviewed-by: Volker Hilsheimer &lt;volker.hilsheimer@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Put timezone related code under ifdef</title>
<updated>2023-04-14T10:34:45+00:00</updated>
<author>
<name>Tatiana Borisova</name>
<email>tatiana.borisova@qt.io</email>
</author>
<published>2023-04-13T17:53:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/qt5/qtbase.git/commit/?id=42d3e242faeada60037060f1b61f2adad40b9df7'/>
<id>42d3e242faeada60037060f1b61f2adad40b9df7</id>
<content type='text'>
In case FEATURE_timezone=OFF auto-tests should still be built successfully

Change-Id: I0226a7d7781a412bf9e9935c2cf1a48b1ce427b5
Reviewed-by: Ivan Solovev &lt;ivan.solovev@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In case FEATURE_timezone=OFF auto-tests should still be built successfully

Change-Id: I0226a7d7781a412bf9e9935c2cf1a48b1ce427b5
Reviewed-by: Ivan Solovev &lt;ivan.solovev@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>SQL/Tests: use TableScope where possible</title>
<updated>2023-04-07T18:38:13+00:00</updated>
<author>
<name>Christian Ehrlicher</name>
<email>ch.ehrlicher@gmx.de</email>
</author>
<published>2023-03-17T21:45:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/qt5/qtbase.git/commit/?id=40045aeec88afdd2f62629042352b0d17fadcf0b'/>
<id>40045aeec88afdd2f62629042352b0d17fadcf0b</id>
<content type='text'>
Use TableScope helper class to make sure the table used for the test is
really cleaned up before usage.

Change-Id: I45fffcd13acae6032636ae07097b14af174ede21
Reviewed-by: Volker Hilsheimer &lt;volker.hilsheimer@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use TableScope helper class to make sure the table used for the test is
really cleaned up before usage.

Change-Id: I45fffcd13acae6032636ae07097b14af174ede21
Reviewed-by: Volker Hilsheimer &lt;volker.hilsheimer@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>QSqlQuery: add boundValueName()/boundValueNames()</title>
<updated>2023-04-07T12:25:28+00:00</updated>
<author>
<name>Christian Ehrlicher</name>
<email>ch.ehrlicher@gmx.de</email>
</author>
<published>2023-02-14T18:33:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/qt5/qtbase.git/commit/?id=3983babd71f334274cc606e2cf76288ff3e0d4a2'/>
<id>3983babd71f334274cc606e2cf76288ff3e0d4a2</id>
<content type='text'>
[ChangeLog][SQL][SqlQuery] Added two new functions
boundValueName()/boundValueNames() to return the names of the bound
values.

Fixes: QTBUG-97847
Change-Id: I8df5f15e8df13141a34d38b0a2e13b37f4e7829c
Reviewed-by: Volker Hilsheimer &lt;volker.hilsheimer@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
[ChangeLog][SQL][SqlQuery] Added two new functions
boundValueName()/boundValueNames() to return the names of the bound
values.

Fixes: QTBUG-97847
Change-Id: I8df5f15e8df13141a34d38b0a2e13b37f4e7829c
Reviewed-by: Volker Hilsheimer &lt;volker.hilsheimer@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>SQL/tests: Add testcase for QODBC toSQLTCHAR()</title>
<updated>2023-04-03T15:52:32+00:00</updated>
<author>
<name>Christian Ehrlicher</name>
<email>ch.ehrlicher@gmx.de</email>
</author>
<published>2023-03-28T17:15:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/qt5/qtbase.git/commit/?id=5a334b3d2bc20c9d11cc95b17bdef1d096064a7b'/>
<id>5a334b3d2bc20c9d11cc95b17bdef1d096064a7b</id>
<content type='text'>
Add a testcase for toSQLTCHAR() to make sure to pass the correct number
of encoded characters to the odbc functions.

Pick-to: 6.5
Task-number: QTBUG-112375
Change-Id: Ib67fab678fc3d0b098aedfc6fa9ec2139f2e75c7
Reviewed-by: Marc Mutz &lt;marc.mutz@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add a testcase for toSQLTCHAR() to make sure to pass the correct number
of encoded characters to the odbc functions.

Pick-to: 6.5
Task-number: QTBUG-112375
Change-Id: Ib67fab678fc3d0b098aedfc6fa9ec2139f2e75c7
Reviewed-by: Marc Mutz &lt;marc.mutz@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>SQL/IBASE: Time Zone support (firebird 4.x)</title>
<updated>2023-03-24T22:43:54+00:00</updated>
<author>
<name>Andreas Bacher</name>
<email>andreas.bacher@meon-medical.com</email>
</author>
<published>2023-03-14T10:25:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/qt5/qtbase.git/commit/?id=5af57389807d0b51509d55e1f87042cab393da6e'/>
<id>5af57389807d0b51509d55e1f87042cab393da6e</id>
<content type='text'>
Add support for time zones in the IBASE driver, which was introduced in
firebird 4.x. TIMESTAMP WITH TIME ZONE data type is supported in order
to store and retrieve a QDateTime with the time zone.

Task-number: QTBUG-111879
Change-Id: I631b4262d17796a17630379b7d659f88244a23ad
Reviewed-by: Christian Ehrlicher &lt;ch.ehrlicher@gmx.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add support for time zones in the IBASE driver, which was introduced in
firebird 4.x. TIMESTAMP WITH TIME ZONE data type is supported in order
to store and retrieve a QDateTime with the time zone.

Task-number: QTBUG-111879
Change-Id: I631b4262d17796a17630379b7d659f88244a23ad
Reviewed-by: Christian Ehrlicher &lt;ch.ehrlicher@gmx.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>SQL/IBASE: fix tests</title>
<updated>2023-03-17T19:33:16+00:00</updated>
<author>
<name>Christian Ehrlicher</name>
<email>ch.ehrlicher@gmx.de</email>
</author>
<published>2023-03-12T13:49:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/qt5/qtbase.git/commit/?id=acb6131a4db38196e3209470621071def45cabcc'/>
<id>acb6131a4db38196e3209470621071def45cabcc</id>
<content type='text'>
Fix some tests so they will correctly work with Interbase (Firebird 3.x)

Change-Id: Ib3c8ceaf31fa01af3a00a9772350b49cee8b2342
Reviewed-by: Volker Hilsheimer &lt;volker.hilsheimer@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix some tests so they will correctly work with Interbase (Firebird 3.x)

Change-Id: Ib3c8ceaf31fa01af3a00a9772350b49cee8b2342
Reviewed-by: Volker Hilsheimer &lt;volker.hilsheimer@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>SQL/MySQL: Add support for Bit-Value Type - BIT</title>
<updated>2023-03-12T16:21:17+00:00</updated>
<author>
<name>Christian Ehrlicher</name>
<email>ch.ehrlicher@gmx.de</email>
</author>
<published>2023-03-10T21:24:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/qt5/qtbase.git/commit/?id=30de1f74def7008b55a8a6d88a6b0f935bc6e2f8'/>
<id>30de1f74def7008b55a8a6d88a6b0f935bc6e2f8</id>
<content type='text'>
Add support for MYSQL_TYPE_BIT. Since the bitfield can be max 64bits,
store it in a uint64_t. Writing such a value as MYSQL_TYPE_LONGLONG
works as expected but receiving it needs a special handling.

[ChangeLog][SQL][MySQL] Added handling for Bit-Value Type - BIT.

Fixes: QTBUG-21326
Change-Id: Id20e3316caf6703b3bec8a828144494a20693fd8
Reviewed-by: Volker Hilsheimer &lt;volker.hilsheimer@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add support for MYSQL_TYPE_BIT. Since the bitfield can be max 64bits,
store it in a uint64_t. Writing such a value as MYSQL_TYPE_LONGLONG
works as expected but receiving it needs a special handling.

[ChangeLog][SQL][MySQL] Added handling for Bit-Value Type - BIT.

Fixes: QTBUG-21326
Change-Id: Id20e3316caf6703b3bec8a828144494a20693fd8
Reviewed-by: Volker Hilsheimer &lt;volker.hilsheimer@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>SQL/Tests: remove safeDropTable() / add helper class</title>
<updated>2023-03-12T16:21:17+00:00</updated>
<author>
<name>Christian Ehrlicher</name>
<email>ch.ehrlicher@gmx.de</email>
</author>
<published>2023-02-28T20:33:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/qt5/qtbase.git/commit/?id=18bd15a9eac88adb1de1f877b112e255b19353b6'/>
<id>18bd15a9eac88adb1de1f877b112e255b19353b6</id>
<content type='text'>
Add a helper class which makes sure that the used table does not exist
before usage (e.g. due to leftovers from previous tests) and is properly
cleaned up on exit. This also allows to remove all usages of
safeDropTable().

Change-Id: Iefeffbd10e2f2f67985183ea822d7b6dd2b80be7
Reviewed-by: Volker Hilsheimer &lt;volker.hilsheimer@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add a helper class which makes sure that the used table does not exist
before usage (e.g. due to leftovers from previous tests) and is properly
cleaned up on exit. This also allows to remove all usages of
safeDropTable().

Change-Id: Iefeffbd10e2f2f67985183ea822d7b6dd2b80be7
Reviewed-by: Volker Hilsheimer &lt;volker.hilsheimer@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>QSqlDatabase: deprecate QSqlDatabase::exec()</title>
<updated>2023-03-06T22:14:49+00:00</updated>
<author>
<name>Christian Ehrlicher</name>
<email>ch.ehrlicher@gmx.de</email>
</author>
<published>2023-02-13T19:33:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/qt5/qtbase.git/commit/?id=12909d7c3df74b88382b727cfd3e215914f291ba'/>
<id>12909d7c3df74b88382b727cfd3e215914f291ba</id>
<content type='text'>
The note that QSqlDatabase::exec() is deprecated was added more than 12
years ago so it's time to also mark the function as such.

Change-Id: Ic5e7c31b3ff5b21e16e2640548cba1a4baaeeb1c
Reviewed-by: Volker Hilsheimer &lt;volker.hilsheimer@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The note that QSqlDatabase::exec() is deprecated was added more than 12
years ago so it's time to also mark the function as such.

Change-Id: Ic5e7c31b3ff5b21e16e2640548cba1a4baaeeb1c
Reviewed-by: Volker Hilsheimer &lt;volker.hilsheimer@qt.io&gt;
</pre>
</div>
</content>
</entry>
</feed>
