<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>MySQL Forums - Quality Assurance</title>
        <description>Forum to discuss quality assurance techniques, such as bug reports, test cases, code patches</description>
        <link>https://forums.mysql.com/list.php?132</link>
        <lastBuildDate>Mon, 15 Jun 2026 23:58:04 +0000</lastBuildDate>
        <generator>Phorum 5.2.23</generator>
        <item>
            <guid>https://forums.mysql.com/read.php?132,741394,741394#msg-741394</guid>
            <title>MySQL in Azure VM: Failure at high IOps (no replies)</title>
            <link>https://forums.mysql.com/read.php?132,741394,741394#msg-741394</link>
            <description><![CDATA[ Hello,<br />
<br />
We have an application which consists of multiple web services in IIS on a Windows machine with MySQL 8.4.6 LTS. Customers can run the application on-premises or in a Windows Azure VM. This is the reason we run MySQL in a VM instead of a managed service; to have only one deployment model.<br />
We see now that when the Windows updates are run (which is done automatically on Azure) that the amount of IOps can exceed what the VHD supports; this seems to cause data stalling. This makes everything run slower (to be expected), but we see that MySQL gets the following error:<br />
<br />
2025-11-04T22:07:52.621305Z 0 [Warning] [MY-012638] [InnoDB] Retry attempts for writing partial data failed.<br />
2025-11-04T22:07:52.824534Z 0 [ERROR] [MY-012639] [InnoDB] Write to file .\#innodb_redo\#ib_redo104 failed at offset 2802688, 512 bytes should have been written, only 0 were written. Operating system error number 0. Check that your OS and file system support files of this size. Check also that the disk is not full or a disk quota exceeded.<br />
2025-11-04T22:07:52.828597Z 0 [ERROR] [MY-012640] [InnoDB] Error number 0 means &#039;No error&#039;<br />
2025-11-04T22:07:52.875391Z 0 [ERROR] [MY-013864] [InnoDB] [FATAL] Error 100 encountered when writing to the redo log file: .\#innodb_redo\#ib_redo104.<br />
2025-11-04T22:07:52.916697Z 0 [ERROR] [MY-013183] [InnoDB] Assertion failure: log0write.cc:2118:ib::fatal triggered thread 6516<br />
InnoDB: We intentionally generate a memory trap.<br />
InnoDB: Submit a detailed bug report to <a href="http://bugs.mysql.com"  rel="nofollow">http://bugs.mysql.com</a>.<br />
InnoDB: If you get repeated assertion failures or crashes, even<br />
InnoDB: immediately after the mysqld startup, there may be<br />
InnoDB: corruption in the InnoDB tablespace. Please refer to<br />
InnoDB: <a href="http://dev.mysql.com/doc/refman/8.4/en/forcing-innodb-recovery.html"  rel="nofollow">http://dev.mysql.com/doc/refman/8.4/en/forcing-innodb-recovery.html</a><br />
InnoDB: about forcing recovery.<br />
2025-11-04T22:07:52Z UTC - mysqld got exception 0x16 ;<br />
Most likely, you have hit a bug, but this error can also be caused by malfunctioning hardware.<br />
Thread pointer: 0x0<br />
Attempting backtrace. You can use the following information to find out<br />
where mysqld died. If you see no messages after this, something went<br />
terribly wrong...<br />
7ff7e466fd08    mysqld.exe!?my_print_stacktrace@@YAXPEBEK@Z()<br />
7ff7e382b1d1    mysqld.exe!?my_server_abort@@YAXXZ()<br />
7ff7e382af13    mysqld.exe!?my_server_abort@@YAXXZ()<br />
7ff7e465a57a    mysqld.exe!?my_abort@@YAXXZ()<br />
7ff7e4830459    mysqld.exe!?zstd_mem_res_free@Zstd_dec@compression@event@binlog@mysql@@CAXPEAX0@Z()<br />
7ff7e4783ab3    mysqld.exe!?zstd_mem_res_free@Zstd_dec@compression@event@binlog@mysql@@CAXPEAX0@Z()<br />
7ff7e495315f    mysqld.exe!?zstd_mem_res_free@Zstd_dec@compression@event@binlog@mysql@@CAXPEAX0@Z()<br />
7ff7e4952ec9    mysqld.exe!?zstd_mem_res_free@Zstd_dec@compression@event@binlog@mysql@@CAXPEAX0@Z()<br />
7ff7e495198d    mysqld.exe!?zstd_mem_res_free@Zstd_dec@compression@event@binlog@mysql@@CAXPEAX0@Z()<br />
7ff7e47b30a4    mysqld.exe!?zstd_mem_res_free@Zstd_dec@compression@event@binlog@mysql@@CAXPEAX0@Z()<br />
7ff7e47b32f9    mysqld.exe!?zstd_mem_res_free@Zstd_dec@compression@event@binlog@mysql@@CAXPEAX0@Z()<br />
7ffe5b58268a    ucrtbase.dll!_o_exp()<br />
7ffe5bff7ac4    KERNEL32.DLL!BaseThreadInitThunk()<br />
7ffe5edfa8c1    ntdll.dll!RtlUserThreadStart()<br />
<br />
And the mysql service stops and needs manual action to resume.<br />
<br />
Our question:<br />
Are there settings that can prevent this from happening? Note that the high IOps moment is only for a certain amount of time, so is there a way to make MySQL more durable during these times? We can accept transient errors, since we have retry-policies, but when the service stops, we need a manual action.<br />
<br />
Thanks in advance.]]></description>
            <dc:creator>Ludo Verstraeten</dc:creator>
            <category>Quality Assurance</category>
            <pubDate>Tue, 18 Nov 2025 15:47:15 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?132,740690,740690#msg-740690</guid>
            <title>Best Practices for Ensuring MySQL Database Integrity in Quality Assurance Testing (no replies)</title>
            <link>https://forums.mysql.com/read.php?132,740690,740690#msg-740690</link>
            <description><![CDATA[ Hello MySQL community,<br />
<br />
As MySQL continues to be a cornerstone in many data-driven applications, ensuring database integrity during quality assurance (QA) testing is crucial for maintaining performance, security, and reliability.<br />
<br />
I’m looking for insights on the most effective practices for conducting thorough QA testing on MySQL databases, specifically focusing on:<br />
<br />
Data Integrity: How do you verify the accuracy and consistency of data during various test phases? What tools or strategies help catch anomalies early in the testing cycle?<br />
<br />
Performance Testing: What are the best approaches for testing database performance under heavy loads? How do you simulate real-world traffic to ensure scalability without affecting production systems?<br />
<br />
Automated Testing: Have you integrated automated test suites for MySQL? Which frameworks or tools do you find most effective for running continuous integration tests on your database?<br />
<br />
Backup and Recovery: How do you test MySQL’s backup and recovery processes to ensure that data can be restored correctly under various failure scenarios?<br />
<br />
I’m eager to hear about the challenges you’ve faced in QA testing with MySQL and any lessons learned. What steps do you take to ensure a reliable and efficient database system?<br />
<br />
Looking forward to your responses!]]></description>
            <dc:creator>James james</dc:creator>
            <category>Quality Assurance</category>
            <pubDate>Fri, 09 May 2025 06:27:18 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?132,726602,726602#msg-726602</guid>
            <title>Patches for CVE-2024-21090 and CVE-2024-21170 (no replies)</title>
            <link>https://forums.mysql.com/read.php?132,726602,726602#msg-726602</link>
            <description><![CDATA[ I&#039;m trying to identify the patches for CVE-2024-21090 and CVE-2024-21170. The former was fixed in release 8.4.0 of the Python version of the connector. The latter in version 9.0.0. None of the CVEs gives much indication of what the real problem was and the commits don&#039;t mention the CVEs. The patches I spotted that might be related are<br />
<br />
<a href="https://github.com/mysql/mysql-connector-python/commit/f3e285e78945d53405698c1077251e042121dfe5"  rel="nofollow">https://github.com/mysql/mysql-connector-python/commit/f3e285e78945d53405698c1077251e042121dfe5</a> (CVE-2024-21090)<br />
<br />
<a href="https://github.com/mysql/mysql-connector-python/commit/1e799824c308f9ba4a22f0f4a9b340419b6b0f22"  rel="nofollow">https://github.com/mysql/mysql-connector-python/commit/1e799824c308f9ba4a22f0f4a9b340419b6b0f22</a> (CVE-2024-21170)<br />
<br />
I&#039;d appreciate it if anybody could verify that these are indeed the patches for the mentioned vulnerabilities.]]></description>
            <dc:creator>Daniel Leidert</dc:creator>
            <category>Quality Assurance</category>
            <pubDate>Sun, 29 Sep 2024 17:19:25 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?132,724242,724242#msg-724242</guid>
            <title>MySQL Shutdown unexpectedly (no replies)</title>
            <link>https://forums.mysql.com/read.php?132,724242,724242#msg-724242</link>
            <description><![CDATA[ Hello to all, i&#039;m completely new to MySQL, and so i kindly ask you if you can help me with a problem. One moment it works fine, but the second time i open it doesn&#039;t open! I&#039;m having trouble identifying the problem, so i thought maybe in the forums someone could help me out. <br />
<br />
2024-05-09 18:00:32 0 [Note] InnoDB: File &#039;C:\xampp\mysql\data\ibtmp1&#039; size is now 12 MB.<br />
2024-05-09 18:00:32 0 [Note] InnoDB: Waiting for purge to start<br />
2024-05-09 18:00:32 0 [Note] InnoDB: 10.4.32 started; log sequence number 8697900; transaction id 4526<br />
2024-05-09 18:00:32 0 [Note] InnoDB: Loading buffer pool(s) from C:\xampp\mysql\data\ib_buffer_pool<br />
2024-05-09 18:00:32 0 [Note] InnoDB: Buffer pool(s) load completed at 240509 18:00:32<br />
2024-05-09 18:00:32 0 [Note] Plugin &#039;FEEDBACK&#039; is disabled.<br />
2024-05-09 18:00:32 0 [Note] Server socket created on IP: &#039;::&#039;.<br />
2024-05-09 23:20:52 0 [Note] Starting MariaDB 10.4.32-MariaDB source revision c4143f909528e3fab0677a28631d10389354c491 as process 18592<br />
Cannot find checkpoint record at LSN (1,0x5556)<br />
2024-05-09 23:20:52 0 [ERROR] mysqld.exe: Aria recovery failed. Please run aria_chk -r on all Aria tables and delete all aria_log.######## files<br />
2024-05-09 23:20:52 0 [ERROR] Plugin &#039;Aria&#039; registration as a STORAGE ENGINE failed.<br />
2024-05-09 23:20:52 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions<br />
2024-05-09 23:20:52 0 [Note] InnoDB: Uses event mutexes<br />
2024-05-09 23:20:52 0 [Note] InnoDB: Compressed tables use zlib 1.3<br />
2024-05-09 23:20:52 0 [Note] InnoDB: Number of pools: 1<br />
2024-05-09 23:20:52 0 [Note] InnoDB: Using SSE2 crc32 instructions<br />
2024-05-09 23:20:52 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M<br />
2024-05-09 23:20:52 0 [Note] InnoDB: Completed initialization of buffer pool<br />
2024-05-09 23:20:52 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=13338595<br />
2024-05-09 23:20:53 0 [Note] InnoDB: 128 out of 128 rollback segments are active.<br />
2024-05-09 23:20:53 0 [Note] InnoDB: Removed temporary tablespace data file: &quot;ibtmp1&quot;<br />
2024-05-09 23:20:53 0 [Note] InnoDB: Creating shared tablespace for temporary tables<br />
2024-05-09 23:20:53 0 [Note] InnoDB: Setting file &#039;C:\xampp\mysql\data\ibtmp1&#039; size to 12 MB. Physically writing the file full; Please wait ...<br />
2024-05-09 23:20:53 0 [Note] InnoDB: File &#039;C:\xampp\mysql\data\ibtmp1&#039; size is now 12 MB.<br />
2024-05-09 23:20:53 0 [Note] InnoDB: Waiting for purge to start<br />
2024-05-09 23:20:53 0 [Note] InnoDB: 10.4.32 started; log sequence number 13338604; transaction id 6870<br />
2024-05-09 23:20:53 0 [Note] InnoDB: Loading buffer pool(s) from C:\xampp\mysql\data\ib_buffer_pool<br />
2024-05-09 23:20:53 0 [Note] Plugin &#039;FEEDBACK&#039; is disabled.<br />
2024-05-09 23:20:53 0 [ERROR] Could not open mysql.plugin table. Some plugins may be not loaded<br />
2024-05-09 23:20:53 0 [ERROR] Failed to initialize plugins.<br />
2024-05-09 23:20:53 0 [ERROR] Aborting<br />
2024-05-09 23:21:22 0 [Note] Starting MariaDB 10.4.32-MariaDB source revision c4143f909528e3fab0677a28631d10389354c491 as process 29728<br />
Cannot find checkpoint record at LSN (1,0x5556)<br />
2024-05-09 23:21:22 0 [ERROR] mysqld.exe: Aria recovery failed. Please run aria_chk -r on all Aria tables and delete all aria_log.######## files<br />
2024-05-09 23:21:22 0 [ERROR] Plugin &#039;Aria&#039; registration as a STORAGE ENGINE failed.<br />
2024-05-09 23:21:22 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions<br />
2024-05-09 23:21:22 0 [Note] InnoDB: Uses event mutexes<br />
2024-05-09 23:21:22 0 [Note] InnoDB: Compressed tables use zlib 1.3<br />
2024-05-09 23:21:22 0 [Note] InnoDB: Number of pools: 1<br />
2024-05-09 23:21:22 0 [Note] InnoDB: Using SSE2 crc32 instructions<br />
2024-05-09 23:21:22 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M<br />
2024-05-09 23:21:22 0 [Note] InnoDB: Completed initialization of buffer pool<br />
2024-05-09 23:21:22 0 [Note] InnoDB: 128 out of 128 rollback segments are active.<br />
2024-05-09 23:21:22 0 [Note] InnoDB: Creating shared tablespace for temporary tables<br />
2024-05-09 23:21:22 0 [Note] InnoDB: Setting file &#039;C:\xampp\mysql\data\ibtmp1&#039; size to 12 MB. Physically writing the file full; Please wait ...<br />
2024-05-09 23:21:22 0 [Note] InnoDB: File &#039;C:\xampp\mysql\data\ibtmp1&#039; size is now 12 MB.<br />
2024-05-09 23:21:22 0 [Note] InnoDB: Waiting for purge to start<br />
2024-05-09 23:21:22 0 [Note] InnoDB: 10.4.32 started; log sequence number 13338613; transaction id 6870<br />
2024-05-09 23:21:22 0 [Note] InnoDB: Loading buffer pool(s) from C:\xampp\mysql\data\ib_buffer_pool<br />
2024-05-09 23:21:22 0 [Note] Plugin &#039;FEEDBACK&#039; is disabled.<br />
2024-05-09 23:21:22 0 [Note] InnoDB: Buffer pool(s) load completed at 240509 23:21:22<br />
2024-05-09 23:21:22 0 [ERROR] Could not open mysql.plugin table. Some plugins may be not loaded<br />
2024-05-09 23:21:22 0 [ERROR] Failed to initialize plugins.<br />
2024-05-09 23:21:22 0 [ERROR] Aborting<br />
2024-05-09 23:21:28 0 [Note] Starting MariaDB 10.4.32-MariaDB source revision c4143f909528e3fab0677a28631d10389354c491 as process 36036<br />
Cannot find checkpoint record at LSN (1,0x5556)<br />
<br />
I will appreciate any help you can provide, thank you all.]]></description>
            <dc:creator>Giovanni Marchesi</dc:creator>
            <category>Quality Assurance</category>
            <pubDate>Thu, 09 May 2024 23:15:49 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?132,723391,723391#msg-723391</guid>
            <title>Permissions required for ER_NO_REFERENCED_ROW_2.  Key violation messages (1 reply)</title>
            <link>https://forums.mysql.com/read.php?132,723391,723391#msg-723391</link>
            <description><![CDATA[ I am currently porting a project to mysql 8.0 from mysql 5.7.  This project takes advantage of extracting the table/column name information in ERR_NO_REFERENCED_ROW_2 - e.g. ERROR 1451 (23000) at line 1: Cannot delete or update a parent row: a foreign key constraint fails (`test`.`joinit`, CONSTRAINT `joinit_ibfk_1` FOREIGN KEY (`g`) REFERENCES `joinit_fk` (`i`) ON DELETE RESTRICT ON UPDATE CASCADE)<br />
<br />
WL#8910 changed the behaviour in Mysql8 to tighten up security and require permissions on the relevant tables.  This perfectly makes sense so far.<br />
<br />
It seems that CREATE/ALTER/DROP + more are required.<br />
On the system I am working on, there are essentially 2 users - which I am guessing is relatively common basic setup.  An &quot;admin&quot; user has permission for to issue DDL (and DML) operations, to manage the schema and data.  The day to day application accesses with only &quot;DML&quot; operations (INSERT/UPDATE/DELETE) for the schema.  There are no specific table or column level permissions for either user.  The basic user account, is able to run &quot;SHOW CREATE TABLE...&quot; on both tables to dump out the full DDL with constraints anyway.<br />
<br />
I am wondering if someone could explain to me, why the permissions required are so high?  I am presuming there is a good reason that I am not grasping. This was already logged as a bug by someone else, <a href="https://bugs.mysql.com/bug.php?id=112589"  rel="nofollow">https://bugs.mysql.com/bug.php?id=112589</a> - however was ultimately closed as a documentation problem.<br />
<br />
Thanks for any pointers you can give as to the reason.]]></description>
            <dc:creator>Brendon Abbott</dc:creator>
            <category>Quality Assurance</category>
            <pubDate>Fri, 19 Apr 2024 05:43:34 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?132,710709,710709#msg-710709</guid>
            <title>Inquiry Regarding Initial Seed for MySQL Protocol Fuzzing (no replies)</title>
            <link>https://forums.mysql.com/read.php?132,710709,710709#msg-710709</link>
            <description><![CDATA[ I am a novice enthusiast in the field of fuzz testing and have an interest in conducting fuzz testing for the MySQL protocol. I understand that testing the logic bugs or crash bugs in Data Manipulation Language (DML) functionalities differs significantly, and as such, I am unsure about the initial seed format required.<br />
<br />
From my understanding, the seed for protocol testing refers to queries or commands sent to the database server. How does this differ from seeds used in regular logic testing? I would greatly appreciate it if you could shed some light on the format of the initial seed for this purpose. If possible, providing a few seed examples would be immensely helpful.<br />
<br />
Thank you very much for your time and assistance.<br />
<br />
Best regards~]]></description>
            <dc:creator>cherry Pang</dc:creator>
            <category>Quality Assurance</category>
            <pubDate>Thu, 23 Nov 2023 06:31:59 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?132,709668,709668#msg-709668</guid>
            <title>net_write_timeout value adjustment (no replies)</title>
            <link>https://forums.mysql.com/read.php?132,709668,709668#msg-709668</link>
            <description><![CDATA[ Hi Team,<br />
<br />
one of our application recently faced the below exception <br />
<br />
** BEGIN NESTED EXCEPTION ** <br />
java.io.EOFException<br />
MESSAGE: Can not read response from server. Expected to read 63 bytes, read 51 bytes before connection was unexpectedly lost.<br />
STACKTRACE:<br />
java.io.EOFException: Can not read response from server. Expected to read 63 bytes, read 51 bytes before connection was unexpectedly lost.<br />
	at com.mysql.cj.protocol.FullReadInputStream.readFully(FullReadInputStream.java:67)<br />
<br />
<br />
After changing net_write_timeout default value from 60 to 180 resolves the issue. <br />
<br />
Please let us know whether any other performance related impact will happen or it is safe to use 180.]]></description>
            <dc:creator>Nikhil Karande</dc:creator>
            <category>Quality Assurance</category>
            <pubDate>Thu, 03 Aug 2023 08:02:09 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?132,708961,708961#msg-708961</guid>
            <title>About Data Export (no replies)</title>
            <link>https://forums.mysql.com/read.php?132,708961,708961#msg-708961</link>
            <description><![CDATA[ My Data Export function is not working. The check box below has disappeared. What should I do to handle this?]]></description>
            <dc:creator>WU SHAN-HUNG</dc:creator>
            <category>Quality Assurance</category>
            <pubDate>Fri, 05 May 2023 12:34:52 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?132,707471,707471#msg-707471</guid>
            <title>Cannot Report Bug (no replies)</title>
            <link>https://forums.mysql.com/read.php?132,707471,707471#msg-707471</link>
            <description><![CDATA[ <a href="https://bugs.mysql.com/report.php"  rel="nofollow">https://bugs.mysql.com/report.php</a>?<br />
<br />
I cannot report a bug through the above webpage. I was trying to submit one for EXCEPT syntax. WB marks it as invalid even though it runs and I cannot save a SP that contains EXCEPT syntax.<br />
<br />
You don&#039;t have permission to access &quot;<a href="http://bugs.mysql.com/report.php&quot"  rel="nofollow">http://bugs.mysql.com/report.php&quot</a>; on this server.<br />
Reference #18.6e3b2f17.1676042400.1c3f9c36 <br />
Workbench is Windows(build 2612062 64bit . Server is on Ubuntu (&#039;8.0.32-0ubuntu0.22.04.2&#039;)<br />
<br />
<br />
EXCEPT Syntax<br />
<a href="https://dev.mysql.com/doc/refman/8.0/en/except.html"  rel="nofollow">https://dev.mysql.com/doc/refman/8.0/en/except.html</a><br />
<br />
John]]></description>
            <dc:creator>John G</dc:creator>
            <category>Quality Assurance</category>
            <pubDate>Fri, 10 Feb 2023 15:21:11 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?132,707449,707449#msg-707449</guid>
            <title>Use JDBC to query the trigger error (1 reply)</title>
            <link>https://forums.mysql.com/read.php?132,707449,707449#msg-707449</link>
            <description><![CDATA[ 1. environment：<br />
mysql5.7.39-log、JDBC8.0.28<br />
<br />
<br />
2. steps<br />
CREATE TABLE LSP.TEST_TRIGGLE_UPPER (<br />
ID INT PRIMARY KEY AUTO_INCREMENT,<br />
T_NOTE VARCHAR(30)<br />
);<br />
<br />
CREATE TABLE LSP.TEST_TRIGGLE_LOG (<br />
ID INT PRIMARY KEY AUTO_INCREMENT,<br />
T_LOG VARCHAR(30)<br />
);<br />
CREATE TRIGGER LSP.TRI_BEFORE_INSERT BEFORE INSERT ON LSP.TEST_TRIGGLE_UPPER<br />
FOR EACH ROW<br />
INSERT INTO TEST_TRIGGLE_LOG(T_LOG) VALUES(&#039;BEFORE insert.....&#039;);<br />
<br />
SELECT TRIGGER_CATALOG,TRIGGER_SCHEMA,TRIGGER_NAME,EVENT_MANIPULATION,EVENT_OBJECT_CATALOG,EVENT_OBJECT_SCHEMA,EVENT_OBJECT_TABLE,ACTION_STATEMENT,ACTION_ORIENTATION,ACTION_TIMING FROM information_schema.triggers WHERE TRIGGER_SCHEMA = &#039;LSP&#039; and TRIGGER_NAME = &#039;tri_before_insert&#039;;<br />
<br />
3. actual results<br />
def,LSP,TRI_BEFORE_INSERT,INSERT,def,LSP,TEST_TRIGGLE_UPPER,INSERT INTO TEST_TRIGGLE_LOG(T_LOG) VALUES(&#039;BEFORE insert.....&#039;),ROW,BEFORE<br />
def,LSP,tri_before_insert,INSERT,def,LSP,test_trigger,INSERT INTO test_trigger_log(t_log) VALUES(&#039;before insert.....&#039;),ROW,BEFORE<br />
<br />
4. expected outcome<br />
<br />
def,LSP,tri_before_insert,INSERT,def,LSP,test_trigger,INSERT INTO test_trigger_log(t_log) VALUES(&#039;before insert.....&#039;),ROW,BEFORE]]></description>
            <dc:creator>jiacheng liang</dc:creator>
            <category>Quality Assurance</category>
            <pubDate>Sat, 20 May 2023 20:03:41 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?132,705911,705911#msg-705911</guid>
            <title>trouble with gpg again (2 replies)</title>
            <link>https://forums.mysql.com/read.php?132,705911,705911#msg-705911</link>
            <description><![CDATA[ Hi all-<br />
<br />
I went through all the steps to verify gpg. Nothing worked. Your keyserver doesn&#039;t respond to recv--keys. Please let someone know!<br />
<br />
gpg --verify mysql-workbench-community_8.0.30-1ubuntu22.04_amd64.deb.asc mysql-workbench-community_8.0.30-1ubuntu22.04_amd64.deb<br />
gpg: Signature made Tue 05 Jul 2022 09:57:25 AM EDT<br />
gpg:                using RSA key 859BE8D7C586F538430B19C2467B942D3A79BD29<br />
gpg: Can&#039;t check signature: No public key<br />
<br />
gpg --import mysql-workbench-community_8.0.30-1ubuntu22.04_amd64.deb.asc<br />
gpg: no valid OpenPGP data found.<br />
gpg: Total number processed: 0<br />
<br />
gpg --recv-keys 3A79BD29<br />
gpg: keyserver receive failed: Server indicated a failure<br />
<br />
hkp://keys.gnupg.net is not working<br />
<br />
THANKS]]></description>
            <dc:creator>megatron from space</dc:creator>
            <category>Quality Assurance</category>
            <pubDate>Mon, 24 Apr 2023 10:04:41 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?132,703638,703638#msg-703638</guid>
            <title>website signing key question (no replies)</title>
            <link>https://forums.mysql.com/read.php?132,703638,703638#msg-703638</link>
            <description><![CDATA[ Hi -<br />
<br />
the signing keys for mysql 8 download .msi for windows files won&#039;t import into kleopatra or msys2. Do you support signing keys anymore or are they obsolete? The md5 signatures are correct. It is for the community version download of mysql.<br />
<br />
thanks .<br />
<br />
<a href="mailto:&#114;&#111;&#98;&#111;&#108;&#111;&#107;&#105;&#64;&#121;&#97;&#104;&#111;&#111;&#46;&#99;&#111;&#109;">&#114;&#111;&#98;&#111;&#108;&#111;&#107;&#105;&#64;&#121;&#97;&#104;&#111;&#111;&#46;&#99;&#111;&#109;</a>]]></description>
            <dc:creator>megatron from space</dc:creator>
            <category>Quality Assurance</category>
            <pubDate>Mon, 28 Mar 2022 00:55:36 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?132,703083,703083#msg-703083</guid>
            <title>Database can not be shut down properly (1 reply)</title>
            <link>https://forums.mysql.com/read.php?132,703083,703083#msg-703083</link>
            <description><![CDATA[ Hello.<br />
<br />
In our system we are using MariaDB (Mysql) as the database for Zabbix server.<br />
The Zabbix server is in a cluster, with two servers configured as Active/Standby.<br />
The other day, I restarted the Corosync service on the active server using systemctl command to change the Corosync configuration.<br />
When the Corosync service was restarted, each software cluster resource was automatically restarted and the Zabbix service was restored without any problem.<br />
We assumed that when the Corosync service was restarted, the software that serves as each cluster resource would be restarted automatically and the Zabbix service would be restored without any problems.<br />
In the development environment, the result was as expected, but in the production environment, an error occurred in the database and the<br />
The database could not be shut down properly and a crash recovery occurred.<br />
When the failure occurred, the following log was output on the Active server.<br />
The same log was also output on the Standby server.<br />
<br />
211122 12:19:27 [Note] /usr/libexec/mysqld: Normal shutdown<br />
211122 12:19:27 [Note] Event Scheduler: Purging the queue. 0 events<br />
211122 12:19:27  InnoDB: Starting shutdown...<br />
211122 12:19:27  InnoDB: Waiting for XXX pages to be flushed<br />
211122 12:20:07 InnoDB: The InnoDB memory heap is disabled<br />
211122 12:20:07 InnoDB: Mutexes and rw_locks use GCC atomic builtins<br />
211122 12:20:07 InnoDB: Compressed tables use zlib 1.2.7<br />
211122 12:20:07 InnoDB: Using Linux native AIO<br />
211122 12:20:07 InnoDB: Initializing buffer pool, size = X.XG<br />
211122 12:20:08 InnoDB: Completed initialization of buffer pool<br />
211122 12:20:08 InnoDB: highest supported file format is Barracuda.<br />
211122 12:20:08  InnoDB: Database was not shut down normally!<br />
211122 12:20:20  InnoDB: Starting an apply batch of log records to the database...<br />
InnoDB: Progress in percents: 0 211122 12:25:00 InnoDB: The InnoDB memory heap is disabled<br />
<br />
The versions of each software are as follows<br />
Red Hat Enterprise Linux release 7.2 (Maipo)<br />
mysql Ver 15.1 Distrib 5.5.52-MariaDB, for Linux (x86_64) using readline 5.1<br />
Pacemaker 1.1.17-1.el7<br />
Corosync Cluster Engine, version &#039;2.4.2&#039;.<br />
<br />
From the above information, can you figure out what is causing the problem?<br />
Please let me know if there are any other logs or settings I need to check.]]></description>
            <dc:creator>Masahito Kubota</dc:creator>
            <category>Quality Assurance</category>
            <pubDate>Mon, 21 Feb 2022 04:04:31 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?132,702979,702979#msg-702979</guid>
            <title>the bug of innodb next-key locks (no replies)</title>
            <link>https://forums.mysql.com/read.php?132,702979,702979#msg-702979</link>
            <description><![CDATA[ mysql version 8.0.27, isolation level RR<br />
<br />
<br />
<br />
<br />
<br />
CREATE TABLE `user`  <br />
(<br />
  `id` int(0) NOT NULL AUTO_INCREMENT,<br />
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,<br />
  `age` int(0) NULL DEFAULT NULL,<br />
  `value` int(0) NOT NULL,<br />
  `uni` bigint(0) NULL DEFAULT NULL,<br />
  PRIMARY KEY (`id`) USING BTREE,<br />
  INDEX `value`(`value`) USING BTREE,<br />
  UNIQUE INDEX `uni`(`uni`) USING BTREE<br />
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;<br />
<br />
<br />
<br />
records<br />
<br />
INSERT INTO `user`(`id`, `name`, `age`, `value`, `uni`) VALUES (440, &#039;Ed Venture&#039;, 57, 50, 76);<br />
INSERT INTO `user`(`id`, `name`, `age`, `value`, `uni`) VALUES (514, &#039;Justin Casey Howells&#039;, 77, 17, 32);<br />
INSERT INTO `user`(`id`, `name`, `age`, `value`, `uni`) VALUES (626, &#039;Dee Kay&#039;, 18, 3, 60);<br />
INSERT INTO `user`(`id`, `name`, `age`, `value`, `uni`) VALUES (839, &#039;Bjorn Free&#039;, 75, 61, 80);<br />
INSERT INTO `user`(`id`, `name`, `age`, `value`, `uni`) VALUES (880, &#039;Barb Dwyer&#039;, 70, 42, 52);<br />
<br />
<br />
sql1:<br />
<br />
start transaction;<br />
select * from user where value &lt;= 17 for update;<br />
<br />
sql2:<br />
<br />
start transaction;<br />
select id from user where value &lt;= 17 for update;<br />
<br />
but, sql2 has one more than than sql1 an index record lock.<br />
<br />
performance.schema#data_locks<br />
lock_data: 880<br />
lock_mode: X,REC_NOT_GAP<br />
index_name: PRIMARY]]></description>
            <dc:creator>da DA</dc:creator>
            <category>Quality Assurance</category>
            <pubDate>Mon, 14 Feb 2022 07:24:58 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?132,701324,701324#msg-701324</guid>
            <title>FORCE INDEX doesn&#039;t take effect when set jdbc param `useServerPrepStmts=true` (no replies)</title>
            <link>https://forums.mysql.com/read.php?132,701324,701324#msg-701324</link>
            <description><![CDATA[ Details:<br />
<br />
mysql version: Server version: 8.0.25 MySQL Community Server - GPL<br />
jdbc connector version: mysql-connector-java-8.0.25<br />
<br />
reproduce:<br />
step 1: create table:<br />
<br />
<br />
CREATE DATABASE PRICING;<br />
USE PRICING:<br />
CREATE TABLE `QUOTE` (<br />
	`ID` BIGINT NOT NULL,<br />
	`GROUP_ID` SMALLINT NOT NULL,<br />
	`SYMBOL_ID` SMALLINT NOT NULL,<br />
	`SOURCE_ID` BIGINT NULL DEFAULT NULL,<br />
	`PRODUCT_ID` INT NOT NULL,<br />
	`COMPANY_ID` TINYINT NOT NULL,<br />
	`LOW` DECIMAL(15,6) NOT NULL,<br />
	`HIGH` DECIMAL(15,6) NOT NULL,<br />
	`OPEN` DECIMAL(15,6) NOT NULL,<br />
	`SCALE` TINYINT NOT NULL,<br />
	`STATUS` TINYINT NOT NULL,<br />
	`LADDERED` TINYINT NOT NULL,<br />
	`DEVIATION` DECIMAL(15,6) NOT NULL,<br />
	`BID_PRICE` DECIMAL(15,6) NOT NULL,<br />
	`ASK_PRICE` DECIMAL(15,6) NOT NULL,<br />
	`QUOTE_DATE` DATE NOT NULL,<br />
	`QUOTE_TIME` BIGINT NOT NULL,<br />
	`BID_TRADABLE` TINYINT NOT NULL,<br />
	`ASK_TRADABLE` TINYINT NOT NULL,<br />
	`BID_ADJUSTMENT` DECIMAL(15,6) NOT NULL,<br />
	`ASK_ADJUSTMENT` DECIMAL(15,6) NOT NULL,<br />
	`VERSION` INT NOT NULL DEFAULT &#039;1&#039;,<br />
	`INSERT_DATETIME` TIMESTAMP NULL DEFAULT NULL,<br />
	`UPDATE_DATETIME` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,<br />
	PRIMARY KEY (`ID`),<br />
	INDEX `INDEX_01` (`SOURCE_ID`),<br />
	INDEX `INDEX_02` (`PRODUCT_ID`),<br />
	INDEX `INDEX_03` (`PRODUCT_ID`, `QUOTE_DATE`),<br />
	INDEX `INDEX_04` (`PRODUCT_ID`, `QUOTE_TIME`)<br />
)<br />
ENGINE=InnoDB;<br />
<br />
<br />
step 2: insert 10,000,000 records to above table. `PRODUCT_ID` &#039;s cardinality is 200.<br />
<br />
step 3: use following java code to access above table<br />
<br />
	public static void main(String[] args) throws SQLException {<br />
		try (Connection conn = DriverManager.getConnection(&quot;jdbc:mysql://localhost/PRICING?useServerPrepStmts=true&quot;, &quot;user&quot;, &quot;pass&quot;)) {<br />
			try (PreparedStatement ps = conn.prepareStatement(&quot;select * from QUOTE FORCE INDEX(INDEX_02) where PRODUCT_ID = ? order by ID desc limit 512&quot;)) {<br />
				ps.setInt(1, 10);<br />
				try (ResultSet rs = ps.executeQuery()) {<br />
					int count = 0;<br />
					while (rs.next()) {<br />
						count++;<br />
					}<br />
					System.out.println(&quot;count:&quot; + count);<br />
				}<br />
			}<br />
		}<br />
	}<br />
<br />
we expect above sql to use INDEX_02, key = INDEX_02, Extra = Backward index scan<br />
<br />
above code takes very long time to fetch result. if we changed `useServerPrepStmts=true` to `false` or use `Statement` instead of `PreparedStatement` or replace `FORCE INDEX` to `FORCE INDEX FOR JOIN`. it&#039;s fast as normal.<br />
<br />
mysql execution Plan:<br />
<br />
mysql&gt; EXPLAIN select * from QUOTE FORCE INDEX(INDEX_02) where PRODUCT_ID = 1 order by ID desc limit 512;<br />
+----+-------------+-------+------------+------+---------------+----------+---------+-------+------+----------+---------------------+<br />
| id | select_type | table | partitions | type | possible_keys | key      | key_len | ref   | rows | filtered | Extra               |<br />
+----+-------------+-------+------------+------+---------------+----------+---------+-------+------+----------+---------------------+<br />
|  1 | SIMPLE      | QUOTE | NULL       | ref  | INDEX_02      | INDEX_02 | 4       | const |    1 |   100.00 | Backward index scan |<br />
+----+-------------+-------+------------+------+---------------+----------+---------+-------+------+----------+---------------------+<br />
1 row in set, 1 warning (0.00 sec)]]></description>
            <dc:creator>chen yi</dc:creator>
            <category>Quality Assurance</category>
            <pubDate>Fri, 21 Jan 2022 04:59:07 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?132,700083,700083#msg-700083</guid>
            <title>MATCH AGAINST doesn&#039;t support combined words (1 reply)</title>
            <link>https://forums.mysql.com/read.php?132,700083,700083#msg-700083</link>
            <description><![CDATA[ My understanding is MATCH is supposed to support phrasing by putting quotes (&quot;) around the text, e.g.<br />
<br />
MATCH(table.keyword) AGAINST @large_text<br />
OR<br />
MATCH(CONCAT(&#039;&quot;&#039;,table.keyword,&#039;&quot;&#039;) AGAINST @large_text<br />
<br />
Where table.keyword may be &quot;Software Engineer&quot;.<br />
<br />
Regardless of putting quotes are the &quot;words&quot;, MATCH will not match the combined words, it always matches the single words separated by spacing.<br />
<br />
I believe this is a bug...?]]></description>
            <dc:creator>David Allen</dc:creator>
            <category>Quality Assurance</category>
            <pubDate>Mon, 06 Dec 2021 18:36:39 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?132,698741,698741#msg-698741</guid>
            <title>&quot;You do not have access to bug #104771.&quot; (1 reply)</title>
            <link>https://forums.mysql.com/read.php?132,698741,698741#msg-698741</link>
            <description><![CDATA[ Dear MySQL-Community,<br />
<br />
<br />
I have found bug #104771 via Google (where it still can be found and also seen in Google Cache). We are affected by this exact bug. However, I cannot access it anymore, as I just get the message: &quot;You do not have access to bug #104771.&quot;, even when I am logged in.<br />
<br />
Can you tell me why the bug is set to private (I suppose)? Is it somehow possible to track the progress on this bug if I cannot see it?<br />
<br />
Thank you for your help.<br />
<br />
<br />
Kind regards<br />
<br />
Ralf]]></description>
            <dc:creator>Ralf Meyer</dc:creator>
            <category>Quality Assurance</category>
            <pubDate>Thu, 09 Sep 2021 16:51:05 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?132,696220,696220#msg-696220</guid>
            <title>5.7.34 broke compatabiliity with mariadb audit plugin (9 replies)</title>
            <link>https://forums.mysql.com/read.php?132,696220,696220#msg-696220</link>
            <description><![CDATA[ So mariadb&#039;s server_audit.so plugin works on MySQL Version 5.7.9 - 5.7.33.<br />
<br />
It is now broken on 5.7.34.<br />
<br />
Possibly related to either of these Changes:<br />
<br />
* Sessions could disable their own auditing. (Bug #31630954)<br />
<br />
* Uninstalling a plugin could affect subsequent execution of prepared statements. (Bug #29363867)<br />
<br />
I tried opening a bug with mysql, and it was closed as it says they don&#039;t support mariadb plugins.<br />
<br />
Is it possible to get more information on the above 2x commits (e.g. actual patch diffs?) so I can investigate the issue myself?<br />
<br />
Specifically strange to me that &quot;auditing&quot; is even a change that made it into mysql-community given its totally lack of audit logging plugin.<br />
<br />
I want to give the devs the benefit of the doubt here, but breaking one of the main compliance plugins that mysql-enterprise just happens to keep behind a paywall seems suspicious.<br />
<br />
If 3rd party plugins need to make changes after 5.7.34, that&#039;s fine, just need some help finding what changes are needed....<br />
<br />
Again, just asking for the commit diffs of the two above changes, as I can&#039;t seem to find them myself based on those bug ids anywhere.<br />
<br />
If you are interested in details on the mariadb server_audit.so crash, here they are:<br />
<br />
<br />
-----------<br />
<br />
<br />
mysqld starts up fine with mariadb server_audit.so loaded.<br />
<br />
But all connection attempts (even ones with invalid users/pass) result in: <br />
<br />
$ mysql<br />
ERROR 2013 (HY000): Lost connection to MySQL server at &#039;reading authorization packet&#039;, system error: 95<br />
<br />
And on the server side, a signal 11:<br />
<br />
15:38:38 UTC - mysqld got signal 11 ;<br />
This could be because you hit a bug. It is also possible that this binary<br />
or one of the libraries it was linked against is corrupt, improperly built,<br />
or misconfigured. This error can also be caused by malfunctioning hardware.<br />
Attempting to collect some information that could help diagnose the problem.<br />
As this is a crash and something is definitely wrong, the information<br />
collection process might fail.<br />
<br />
key_buffer_size=1048576<br />
read_buffer_size=262144<br />
max_used_connections=1<br />
max_threads=151<br />
thread_count=1<br />
connection_count=1<br />
It is possible that mysqld could use up to<br />
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 51365 K  bytes of memory<br />
Hope that&#039;s ok; if not, decrease some variables in the equation.<br />
<br />
Thread pointer: 0x7f21a0000d40<br />
Attempting backtrace. You can use the following information to find out<br />
where mysqld died. If you see no messages after this, something went<br />
terribly wrong...<br />
stack_bottom = 7f223014be50 thread_stack 0x40000<br />
/usr/sbin/mysqld(my_print_stacktrace+0x3b)[0xf3461b]<br />
/usr/sbin/mysqld(handle_fatal_signal+0x486)[0x7e3666]<br />
/lib64/libpthread.so.0(+0x117e0)[0x7f2237ef07e0]<br />
/usr/lib64/mysql/plugin/server_audit.so(get_db_mysql57+0x30)[0x7f21d452e110]<br />
/usr/lib64/mysql/plugin/server_audit.so(+0xb21b)[0x7f21d452e21b]<br />
/usr/sbin/mysqld[0x7e435c]<br />
/usr/sbin/mysqld(_Z18mysql_audit_notifyP3THD30mysql_event_general_subclass_tPKciS3_m+0x25d)[0x7e491d]<br />
/usr/sbin/mysqld(_ZN12Query_logger17general_log_printEP3THD19enum_server_commandPKcz+0xcc)[0xc411bc]<br />
/usr/sbin/mysqld(_Z15acl_log_connectPKcS0_S0_S0_P3THD19enum_server_command+0xaf)[0x7ed45f]<br />
/usr/sbin/mysqld(_Z16acl_authenticateP3THD19enum_server_command+0x6c7)[0x7ee437]<br />
/usr/sbin/mysqld[0xcb994d]<br />
/usr/sbin/mysqld(_Z22thd_prepare_connectionP3THD+0x68)[0xcba9d8]<br />
/usr/sbin/mysqld(handle_connection+0x267)[0xdc1337]<br />
/usr/sbin/mysqld(pfs_spawn_thread+0x1b4)[0x1409ee4]<br />
/lib64/libpthread.so.0(+0x740b)[0x7f2237ee640b]<br />
/lib64/libc.so.6(clone+0x3f)[0x7f22368f909f]<br />
<br />
<br />
Thanks for reading!]]></description>
            <dc:creator>Carl Laserdog</dc:creator>
            <category>Quality Assurance</category>
            <pubDate>Fri, 03 Jun 2022 14:46:39 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?132,695814,695814#msg-695814</guid>
            <title>sysbench test show that 8.0.21 is faster than 8.0.23 (no replies)</title>
            <link>https://forums.mysql.com/read.php?132,695814,695814#msg-695814</link>
            <description><![CDATA[ The sysbench (1.0.20) test command was<br />
<br />
sysbench --test=oltp_read_write --tables=10 --table-size=1000000 --report-interval=10 --time=3600 --threads=50 --db-driver=mysql --mysql-socket=/tmp/mysql.sock --mysql-user=root --mysql-password=&#039;xxx&#039; --mysql-db=sbtest run<br />
<br />
============= 8.0.21 test result =============<br />
<br />
SQL statistics:<br />
    queries performed:<br />
        read:                            15339058<br />
        write:                           4382588<br />
        other:                           2191294<br />
        total:                           21912940<br />
    transactions:                        1095647 (304.28 per sec.)<br />
    queries:                             21912940 (6085.57 per sec.)<br />
    ignored errors:                      0      (0.00 per sec.)<br />
    reconnects:                          0      (0.00 per sec.)<br />
<br />
General statistics:<br />
    total time:                          3600.8045s<br />
    total number of events:              1095647<br />
<br />
Latency (ms):<br />
         min:                                    2.74<br />
         avg:                                  164.30<br />
         max:                                 5033.06<br />
         95th percentile:                      707.07<br />
         sum:                            180014353.79<br />
<br />
Threads fairness:<br />
    events (avg/stddev):           21912.9400/80.08<br />
    execution time (avg/stddev):   3600.2871/0.22<br />
<br />
============= 8.0.23 test reuslt ================<br />
<br />
SQL statistics:<br />
    queries performed:<br />
        read:                            2969064<br />
        write:                           848304<br />
        other:                           424152<br />
        total:                           4241520<br />
    transactions:                        212076 (58.89 per sec.)<br />
    queries:                             4241520 (1177.79 per sec.)<br />
    ignored errors:                      0      (0.00 per sec.)<br />
    reconnects:                          0      (0.00 per sec.)<br />
<br />
General statistics:<br />
    total time:                          3601.2587s<br />
    total number of events:              212076<br />
<br />
Latency (ms):<br />
         min:                                    3.57<br />
         avg:                                  848.89<br />
         max:                                 6098.82<br />
         95th percentile:                     1973.38<br />
         sum:                            180029441.14<br />
<br />
Threads fairness:<br />
    events (avg/stddev):           4241.5200/32.35<br />
    execution time (avg/stddev):   3600.5888/0.34<br />
<br />
<br />
Both tests are performed on the same machine.<br />
Are there any performance issue with 8.0.23?]]></description>
            <dc:creator>Liu Jack</dc:creator>
            <category>Quality Assurance</category>
            <pubDate>Fri, 09 Apr 2021 08:12:06 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?132,695632,695632#msg-695632</guid>
            <title>Only available after end of query execute (no replies)</title>
            <link>https://forums.mysql.com/read.php?132,695632,695632#msg-695632</link>
            <description><![CDATA[ mysqlx::Table table{ schema, &quot;accounts&quot; };<br />
<br />
auto tableSelect = table.select(&quot;Id&quot;);<br />
auto rowResult = tableSelect.execute();<br />
<br />
try<br />
{<br />
	std::cout &lt;&lt; rowResult.getAffectedItemsCount() &lt;&lt; std::endl;<br />
}<br />
catch (const mysqlx::Error&amp; error)<br />
{<br />
	std::cout &lt;&lt; error.what() &lt;&lt; std::endl;<br />
}<br />
<br />
<br />
Returns an error:<br />
<br />
CDK Error: Only available after end of query execute<br />
<br />
Does it have to be like this?]]></description>
            <dc:creator>Wh Ooo</dc:creator>
            <category>Quality Assurance</category>
            <pubDate>Sun, 28 Mar 2021 23:45:37 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?132,695463,695463#msg-695463</guid>
            <title>mysql-test-run: *** ERROR: Could not find &quot;mysqld&quot; in scanned directories (2 replies)</title>
            <link>https://forums.mysql.com/read.php?132,695463,695463#msg-695463</link>
            <description><![CDATA[ While running the mysql-test-run.pl script, I am getting the below error:<br />
<br />
mysql-test-run: *** ERROR: Could not find &#039;mysqld&#039; in scanned directories<br />
<br />
There were no spaces in the path to mysql-test folder.<br />
I have connected to my server instance using workbench tool. &#039;mysqld&#039; is not available in the mysql-debug folder, instead there is mysqld-debug.exe. Am I missing anything here?]]></description>
            <dc:creator>Pavan Sai</dc:creator>
            <category>Quality Assurance</category>
            <pubDate>Tue, 30 Mar 2021 15:10:36 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?132,694208,694208#msg-694208</guid>
            <title>GnuCash not opening mysql database on Windows 10 (1 reply)</title>
            <link>https://forums.mysql.com/read.php?132,694208,694208#msg-694208</link>
            <description><![CDATA[ I have a mysql server on my Ubuntu 20.04 server on a local network as the backend for my GnuCash installation. I can connect with no trouble using an SSH tunnel from my Ubuntu 20.04 desktop. However, I have recently acquired a Windows 10 laptop, and I cannot connect. I have been able to verify that the tunnel is operational, as I can pull up the database in MySQL Workbench on my Windows machine. However, GnuCash always reports &#039;The server at URL <a href="https://www.tellpizzahut.online/"  rel="nofollow">tellpizzahut</a> mysql://[db_user]@127.0.0.1:[local_port]/[database_name] experienced an error or encountered bad or corrupt data.&#039; I have tried using &#039;localhost&#039; instead of 127.0.0.1 with the same result. I also]]></description>
            <dc:creator>Christie Wagner</dc:creator>
            <category>Quality Assurance</category>
            <pubDate>Mon, 18 Jan 2021 01:43:07 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?132,690626,690626#msg-690626</guid>
            <title>about  function replace (7 replies)</title>
            <link>https://forums.mysql.com/read.php?132,690626,690626#msg-690626</link>
            <description><![CDATA[ Mysql version 5.7<br />
<br />
select &quot;TEST&quot;,replace(&quot;TEST&quot;,&quot; &quot;, null) from dual;<br />
result:<br />
TEST null<br />
<br />
select &quot;TEST&quot;,replace(&quot;TEST&quot;,&quot; &quot;, &quot;OTHER&quot;) from dual;<br />
result:<br />
TEST TEST<br />
<br />
Is this a bug?]]></description>
            <dc:creator>Peter Gu</dc:creator>
            <category>Quality Assurance</category>
            <pubDate>Mon, 20 Dec 2021 17:56:37 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?132,690524,690524#msg-690524</guid>
            <title>IF NOT EXISTS() THEN (1 reply)</title>
            <link>https://forums.mysql.com/read.php?132,690524,690524#msg-690524</link>
            <description><![CDATA[ Bug report.<br />
<br />
I&#039;ve written a stored procedure and it crashed but it didn&#039;t give any error message.<br />
<br />
I&#039;ve copied my stored procedure below.<br />
<br />
I&#039;ve also copied the code to run my stored procedure.<br />
<br />
I&#039;ve found out that if I comment out the if statements that contain &quot;IF NOT EXISTS () THEN&quot; then my stored procedure will run.  And if I just remove the word &quot;NOT&quot; then it&#039;ll run.<br />
<br />
Maybe the use of the word &quot;NOT&quot; was incorrect, however I would expect an error message.<br />
<br />
I now know how to rewrite my stored procedure but I am still annoyed that I wasn&#039;t given an error message telling me that the use of the word &quot;not&quot; was wrong.<br />
<br />
In fact there was no error message at all, the only thing that happened was that the stored procedure didn&#039;t give me any data at the end.  It just crashed out without getting to the end.  And it didn&#039;t say it crashed.<br />
<br />
Can we have better error reporting please, it saves so much stress.<br />
<br />
<br />
<br />
------------------------------------------------------------------------------------------<br />
My Stored procedure<br />
<br />
<br />
use db_settings;<br />
<br />
DROP PROCEDURE if exists insertProduct;<br />
<br />
DELIMITER //<br />
<br />
CREATE PROCEDURE insertProduct(OUT p_bIsOk boolean,<br />
OUT p_prd_product_id int,<br />
IN p_language_id int,<br />
IN p_prd_model varchar(64),<br />
IN p_prd_sku varchar(64),<br />
IN p_prd_upc varchar(12),<br />
IN p_prd_ean varchar(14),<br />
IN p_prd_jan varchar(13),<br />
IN p_prd_isbn varchar(17),<br />
IN p_prd_mpn varchar(64),<br />
IN p_prd_location varchar(128),<br />
IN p_prd_quantity int,<br />
IN p_prd_stock_status_id int,<br />
IN p_prd_image varchar(255),<br />
IN p_prd_manufacturer_id int,<br />
IN p_prd_shipping tinyint,<br />
IN p_prd_price decimal(15,4),<br />
IN p_prd_points int,<br />
IN p_prd_tax_class_id int,<br />
IN p_prd_date_available date,<br />
IN p_prd_weight decimal(15,8),<br />
IN p_prd_weight_class_id int,<br />
IN p_prd_length decimal(15,8),<br />
IN p_prd_width decimal(15,8),<br />
IN p_prd_height decimal(15,8),<br />
IN p_prd_length_class_id int,<br />
IN p_prd_subtract tinyint,<br />
IN p_prd_minimum int,<br />
IN p_prd_sort_order int,<br />
IN p_prd_status tinyint,<br />
IN p_desc_name varchar(255),<br />
IN p_desc_description text,<br />
IN p_desc_tag text,<br />
IN p_desc_meta_title varchar(255) ,<br />
IN p_desc_meta_description varchar(255),<br />
IN p_desc_meta_keyword varchar(255), <br />
IN p_Concat_image varchar(4000),<br />
IN p_Concat_image_sort_order varchar(4000),<br />
IN p_flag_new_language boolean, <br />
IN p_flag_overwrite_product boolean,<br />
IN p_flag_overwrite_description boolean,<br />
IN p_flag_remove_old_images boolean<br />
)<br />
BEGIN <br />
<br />
declare sDelimiterTab varchar(10) default &quot;-&quot;;<br />
declare iCounter int;<br />
declare iPosA int;<br />
declare iPosB int;<br />
declare sTemp varchar(4000) default &quot;&quot;;<br />
declare bIsFinished boolean default false;<br />
<br />
set p_bIsOk = true;<br />
<br />
<br />
/************************************<br />
*   Drop and recreate temp tables   *<br />
************************************/<br />
DROP TABLE IF EXISTS temp_errors;<br />
DROP TABLE IF EXISTS temp_status;<br />
DROP TABLE IF EXISTS temp_product;<br />
DROP TABLE IF EXISTS temp_product_image;<br />
DROP TABLE IF EXISTS temp_images;<br />
<br />
CREATE TEMPORARY TABLE temp_errors (<br />
    err_ID INT AUTO_INCREMENT PRIMARY KEY,<br />
    err_Category varchar(1024) not null default &#039;&#039;,<br />
    err_Name varchar(1024) not null default &#039;&#039;,<br />
    err_Long_Description varchar(1024) not null default &#039;&#039;,<br />
    err_Values varchar(1024) not null default &#039;&#039;<br />
);<br />
<br />
CREATE TEMPORARY TABLE temp_status (<br />
    tmpSt_ID INT AUTO_INCREMENT PRIMARY KEY,<br />
    tmpSt_Category varchar(1024) not null default &#039;&#039;,<br />
    tmpSt_Name varchar(1024) not null default &#039;&#039;,<br />
    tmpSt_Long_Description varchar(1024) not null default &#039;&#039;,<br />
    tmpSt_Values varchar(1024) not null default &#039;&#039;<br />
);<br />
<br />
<br />
CREATE TEMPORARY TABLE temp_product (<br />
  tmpP_id INT AUTO_INCREMENT PRIMARY KEY,<br />
  tmpP_product_id int NOT NULL,<br />
  tmpP_model varchar(64) NOT NULL,<br />
  tmpP_sku varchar(64) NOT NULL,<br />
  tmpP_upc varchar(12) NOT NULL,<br />
  tmpP_ean varchar(14) NOT NULL,<br />
  tmpP_jan varchar(13) NOT NULL,<br />
  tmpP_isbn varchar(17) NOT NULL,<br />
  tmpP_mpn varchar(64) NOT NULL,<br />
  tmpP_location varchar(128) NOT NULL,<br />
  tmpP_quantity int NOT NULL DEFAULT &#039;0&#039;,<br />
  tmpP_stock_status_id int NOT NULL,<br />
  tmpP_image varchar(255) DEFAULT NULL,<br />
  tmpP_manufacturer_id int NOT NULL,<br />
  tmpP_shipping tinyint NOT NULL DEFAULT &#039;1&#039;,<br />
  tmpP_price decimal(15,4) NOT NULL DEFAULT &#039;0.0000&#039;,<br />
  tmpP_points int NOT NULL DEFAULT &#039;0&#039;,<br />
  tmpP_tax_class_id int NOT NULL,<br />
  tmpP_date_available date NOT NULL DEFAULT &#039;2020-01-01&#039;,<br />
  tmpP_weight decimal(15,8) NOT NULL DEFAULT &#039;0.00000000&#039;,<br />
  tmpP_weight_class_id int NOT NULL DEFAULT &#039;0&#039;,<br />
  tmpP_length decimal(15,8) NOT NULL DEFAULT &#039;0.00000000&#039;,<br />
  tmpP_width decimal(15,8) NOT NULL DEFAULT &#039;0.00000000&#039;,<br />
  tmpP_height decimal(15,8) NOT NULL DEFAULT &#039;0.00000000&#039;,<br />
  tmpP_length_class_id int NOT NULL DEFAULT &#039;0&#039;,<br />
  tmpP_subtract tinyint NOT NULL DEFAULT &#039;1&#039;,<br />
  tmpP_minimum int NOT NULL DEFAULT &#039;1&#039;,<br />
  tmpP_sort_order int NOT NULL DEFAULT &#039;0&#039;,<br />
  tmpP_status tinyint NOT NULL DEFAULT &#039;0&#039;,<br />
  tmpP_viewed int NOT NULL DEFAULT &#039;0&#039;,<br />
  tmpP_date_added datetime NOT NULL,<br />
  tmpP_date_modified datetime NOT NULL<br />
);<br />
<br />
CREATE TEMPORARY  TABLE temp_product_image (<br />
  tmpI_id INT AUTO_INCREMENT PRIMARY KEY,<br />
  tmpI_product_image_id int NOT NULL,<br />
  tmpI_product_image_id_Orig int NOT NULL,<br />
  tmpI_product_id int NOT NULL,<br />
  tmpI_image varchar(255) DEFAULT NULL,<br />
  tmpI_sort_order int NOT NULL DEFAULT &#039;0&#039;<br />
);<br />
<br />
CREATE TEMPORARY TABLE temp_images (<br />
  tmpM_id int AUTO_INCREMENT PRIMARY KEY,<br />
  tmpM_image varchar(255) DEFAULT NULL <br />
);<br />
<br />
CREATE TEMPORARY TABLE temp_images_sort_order (<br />
  tmpS_id int AUTO_INCREMENT PRIMARY KEY,<br />
  tmpS_sort_order varchar(255) DEFAULT NULL <br />
);<br />
<br />
<br />
/****************************************************<br />
*   put all images in parameter into a temp table   *<br />
****************************************************/<br />
<br />
INSERT INTO temp_status (tmpSt_Category, tmpSt_Name, tmpSt_Long_Description, tmpSt_Values)<br />
VALUES (&quot;Marker&quot;, &quot;One&quot;, &quot;put all images in parameter into a temp table&quot;, &quot;&quot;);<br />
<br />
set iCounter = 1;<br />
set iPosA = 1;<br />
set iPosB = 1;<br />
set sTemp = p_Concat_image;<br />
set bIsFinished = false;<br />
<br />
while iCounter &lt; 10 and bIsFinished = false DO<br />
  set iPosA = LOCATE(sDelimiterTab, sTemp, iPosB - 1);<br />
  set iPosB = LOCATE(sDelimiterTab, sTemp, iPosB);<br />
<br />
  if iPosA &gt; 0 and iPosB = 0 then<br />
    set sTemp = mid(sTemp, iPosA + 1);<br />
    set bIsFinished = true;<br />
  else<br />
    set sTemp = mid(sTemp, iPosA + 1, iPosB - iPosA - 1);<br />
  end if;<br />
<br />
  if sTemp != &quot;&quot; then<br />
    insert into temp_images (tmpM_image) <br />
    values (LOWER(TRIM(IFNULL(sTemp, &quot;&quot;))));<br />
  end if;<br />
  <br />
  set iCounter = iCounter + 1;<br />
  set iPosB = iPosB + 1;<br />
end while;<br />
<br />
/***************************************************************<br />
*   put all images sort order in parameter into a temp table   *<br />
***************************************************************/<br />
<br />
INSERT INTO temp_status (tmpSt_Category, tmpSt_Name, tmpSt_Long_Description, tmpSt_Values)<br />
VALUES (&quot;Marker&quot;, &quot;Two&quot;, &quot;put all images sort order in parameter into a temp table&quot;, &quot;&quot;);<br />
<br />
set iCounter = 1;<br />
set iPosA = 1;<br />
set iPosB = 1;<br />
set sTemp = p_Concat_image_sort_order;<br />
set bIsFinished = false;<br />
<br />
while iCounter &lt; 10 and bIsFinished = false DO<br />
  set iPosA = LOCATE(sDelimiterTab, sTemp, iPosB - 1);<br />
  set iPosB = LOCATE(sDelimiterTab, sTemp, iPosB);<br />
<br />
  if iPosA &gt; 0 and iPosB = 0 then<br />
    set sTemp = mid(sTemp, iPosA + 1);<br />
    set bIsFinished = true;<br />
  else<br />
    set sTemp = mid(sTemp, iPosA + 1, iPosB - iPosA - 1);<br />
  end if;<br />
<br />
  if sTemp != &quot;&quot; then<br />
    insert into temp_images_sort_order (tmpS_sort_order) <br />
    values (LOWER(TRIM(IFNULL(sTemp, &quot;&quot;))));<br />
  end if;<br />
  <br />
  set iCounter = iCounter + 1;<br />
  set iPosB = iPosB + 1;<br />
end while;<br />
<br />
/****************************************<br />
*   check all sort orders are integer   *<br />
****************************************/<br />
<br />
INSERT INTO temp_status (tmpSt_Category, tmpSt_Name, tmpSt_Long_Description, tmpSt_Values)<br />
VALUES (&quot;Marker&quot;, &quot;Three&quot;, &quot;check all sort orders are integer&quot;, &quot;&quot;);<br />
<br />
if not exists (SELECT * <br />
               FROM temp_images_sort_order <br />
               WHERE tmpS_sort_order LIKE &#039;[0-9]&#039; <br />
               OR  tmpS_sort_order LIKE &#039;[0-9][0-9]&#039;<br />
               OR  tmpS_sort_order LIKE &#039;[0-9][0-9][0-9]&#039;<br />
               OR  tmpS_sort_order LIKE &#039;[0-9][0-9][0-9][0-9]&#039;<br />
               OR  tmpS_sort_order LIKE &#039;[0-9][0-9][0-9][0-9][0-9]&#039;<br />
               OR  tmpS_sort_order LIKE &#039;[0-9][0-9][0-9][0-9][0-9][0-9]&#039;<br />
               OR  tmpS_sort_order LIKE &#039;[0-9][0-9][0-9][0-9][0-9][0-9][0-9]&#039;<br />
               OR  tmpS_sort_order LIKE &#039;[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]&#039;) then<br />
    insert into temp_errors (err_Category, err_Name, err_Long_Description, err_Values) <br />
    SELECT &#039;image&#039;, &#039;sort order for images is not a integer (8 digits or less) &#039;, concat(&#039;Sort order &#039;, tmpS_sort_order), tmpS_sort_order<br />
    FROM temp_images_sort_order<br />
    WHERE tmpS_sort_order LIKE &quot;[0-9]&quot; <br />
    OR  tmpS_sort_order LIKE &quot;[0-9][0-9]&quot;<br />
    OR  tmpS_sort_order LIKE &quot;[0-9][0-9][0-9]&quot;<br />
    OR  tmpS_sort_order LIKE &quot;[0-9][0-9][0-9][0-9]&quot;<br />
    OR  tmpS_sort_order LIKE &quot;[0-9][0-9][0-9][0-9][0-9]&quot;<br />
    OR  tmpS_sort_order LIKE &quot;[0-9][0-9][0-9][0-9][0-9][0-9]&quot;<br />
    OR  tmpS_sort_order LIKE &quot;[0-9][0-9][0-9][0-9][0-9][0-9][0-9]&quot;<br />
    OR  tmpS_sort_order LIKE &quot;[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]&quot;;<br />
    set p_bIsOk = false;<br />
end if;<br />
<br />
/***********************************<br />
*   check sort orders are unique   *<br />
***********************************/<br />
<br />
INSERT INTO temp_status (tmpSt_Category, tmpSt_Name, tmpSt_Long_Description, tmpSt_Values)<br />
VALUES (&quot;Marker&quot;, &quot;Four&quot;, &quot;check sort orders are unique&quot;, &quot;&quot;);<br />
<br />
if not exists (SELECT tmpM_image, count(*) As Count_of_numbers <br />
               FROM temp_images<br />
               GROUP BY tmpM_image <br />
               HAVING count(*) &gt; 1) then<br />
    insert into temp_errors (err_Category, err_Name, err_Long_Description, err_Values) <br />
    SELECT &#039;image&#039;, &#039;images are not unique &#039;, concat(&#039;Sort order &#039;, T.tmpM_image, &quot; repeats &quot;, CONVERT(T.Count_of_numbers, CHAR(10)), &quot; times.&quot;), T.tmpM_image<br />
    FROM (SELECT tmpM_image, count(*) As Count_of_numbers <br />
          FROM temp_images<br />
          GROUP BY tmpM_image <br />
          HAVING count(*) &gt; 1) As T; <br />
    set p_bIsOk = false;<br />
end if;<br />
<br />
/******************************<br />
*   check images are unique   *<br />
******************************/<br />
<br />
INSERT INTO temp_status (tmpSt_Category, tmpSt_Name, tmpSt_Long_Description, tmpSt_Values)<br />
VALUES (&quot;Marker&quot;, &quot;Five&quot;, &quot;check images are unique&quot;, &quot;&quot;);<br />
<br />
if not exists (SELECT tmpS_sort_order, count(*) As Count_of_numbers <br />
               FROM temp_images_sort_order<br />
               GROUP BY tmpS_sort_order <br />
               HAVING count(*) &gt; 1) then<br />
    insert into temp_errors (err_Category, err_Name, err_Long_Description, err_Values) <br />
    SELECT &#039;image&#039;, &#039;sort order for images is not unique &#039;, concat(&#039;Sort order &#039;, T.tmpS_sort_order, &quot; repeats &quot;, CONVERT(T.Count_of_numbers, CHAR(10)), &quot; times.&quot;), T.tmpS_sort_order<br />
    FROM (SELECT tmpS_sort_order, count(*) As Count_of_numbers <br />
          FROM temp_images_sort_order<br />
          GROUP BY tmpS_sort_order <br />
          HAVING count(*) &gt; 1) As T; <br />
    set p_bIsOk = false;<br />
end if;<br />
<br />
/***********************************************************<br />
*   check number of images matches number of sort orders   *<br />
***********************************************************/<br />
<br />
INSERT INTO temp_status (tmpSt_Category, tmpSt_Name, tmpSt_Long_Description, tmpSt_Values)<br />
VALUES (&quot;Marker&quot;, &quot;Six&quot;, &quot;check number of images matches number of sort orders&quot;, &quot;&quot;);<br />
<br />
if EXISTS (select * FROM temp_images) AND EXISTS (SELECT * FROM temp_images_sort_order) THEN<br />
    if (select max(tmpM_id) FROM temp_images) = (SELECT MAX(tmpS_id) FROM temp_images_sort_order) THEN<br />
        insert into temp_errors (err_Category, err_Name, err_Long_Description, err_Values) <br />
        values (&#039;image&#039;, &#039;number of images does not equal number of sort order for those images&#039;, &#039;&#039;, &#039;&#039;);<br />
    set p_bIsOk = false;<br />
    END IF;<br />
END IF;<br />
<br />
/*********************************************************<br />
*   check if item is in db_shoes_product from image      *<br />
*   also check image isn&#039;t in shoes_product_image        *<br />
*   also check name isn&#039;t in shoes_product_description   *<br />
*********************************************************/<br />
<br />
INSERT INTO temp_status (tmpSt_Category, tmpSt_Name, tmpSt_Long_Description, tmpSt_Values)<br />
VALUES (&quot;Marker&quot;, &quot;Seven&quot;, &quot;check if item is in db_shoes_product from image, also check image isnt in shoes_product_image, also check name isnt in shoes_product_description&quot;, &quot;&quot;);<br />
<br />
INSERT INTO temp_product_image (<br />
  tmpI_product_image_id_Orig,<br />
  tmpI_product_id,<br />
  tmpI_image,<br />
  tmpI_sort_order)<br />
SELECT product_image_id, product_id, image, sort_order<br />
FROM db_shoes.shoes_product_image<br />
WHERE trim(lower(image)) in (SELECT trim(lower(tmpM_image)) FROM temp_images);<br />
<br />
IF EXISTS (SELECT *<br />
           FROM db_shoes.shoes_product_description<br />
           WHERE language_id = p_language_id<br />
           AND product_id in (SELECT tmpI_product_id FROM temp_product_image)<br />
          ) THEN<br />
    INSERT INTO temp_errors (err_Category, err_Name, err_Long_Description, err_Values) <br />
    SELECT DISTINCT &#039;settings&#039;, &#039;Duclicate product description found from picture &#039;, concat(&#039;check pictures for product id &#039;, TRIM(CONVERT(tmpI_product_id, CHAR(10)))), TRIM(CONVERT(tmpI_product_id, CHAR(10)))<br />
    FROM temp_product_image;<br />
    set p_bIsOk = false;<br />
END IF;<br />
<br />
/***********************************************************<br />
*   If an error has been flagged return error temp table   *<br />
*   or else return details of language                     *<br />
***********************************************************/<br />
<br />
INSERT INTO temp_status (tmpSt_Category, tmpSt_Name, tmpSt_Long_Description, tmpSt_Values)<br />
VALUES (&quot;Marker&quot;, &quot;Eight&quot;, &quot;If an error has been flagged return error temp table or else return details of language&quot;, &quot;&quot;);<br />
<br />
if p_bIsOk then<br />
    SELECT<br />
        tmpSt_ID,<br />
        tmpSt_Category,<br />
        tmpSt_Name,<br />
        tmpSt_Long_Description,<br />
        tmpSt_Values<br />
    FROM temp_status<br />
    ORDER BY tmpSt_ID;<br />
else<br />
    select err_ID, err_Category, err_Name, err_Long_Description, err_Values <br />
    from temp_errors;<br />
end if;<br />
<br />
END// <br />
<br />
DELIMITER ;<br />
<br />
------------------------------------------------------------------------------------------<br />
Calling Stored procedure<br />
<br />
use db_settings;<br />
<br />
set @bIsOk = true;<br />
set @product_id = -1;<br />
set @language_id = 1;<br />
set @prd_model = &quot;model&quot;;<br />
set @prd_sku = &quot;sku&quot;;<br />
set @prd_upc = &quot;upc&quot;;<br />
set @prd_ean = &quot;ean&quot;;<br />
set @prd_jan = &quot;jan&quot;;<br />
set @prd_isbn = &quot;isbn&quot;;<br />
set @prd_mpn = &quot;mpn&quot;;<br />
set @prd_location = &quot;location&quot;;<br />
set @prd_quantity = 0;<br />
set @prd_stock_status_id = 0;<br />
set @prd_image = &quot;image&quot;;<br />
set @prd_manufacturer_id = 0;<br />
set @prd_shipping = 0;<br />
set @prd_price  = 0.0;<br />
set @prd_points = 0;<br />
set @prd_tax_class_id = 0;<br />
set @prd_date_available = &quot;2020-01-01&quot;;<br />
set @prd_weight = 0.0;<br />
set @prd_weight_class_id = 0;<br />
set @prd_length = 0.0;<br />
set @prd_width = 0.0;<br />
set @prd_height = 0.0;<br />
set @prd_length_class_id = 0;<br />
set @prd_subtract = 0;<br />
set @prd_minimum = 0;<br />
set @prd_sort_order = 0;<br />
set @prd_status = 0;<br />
set @desc_name = &quot;name&quot;;<br />
set @desc_description = &quot;description&quot;;<br />
set @desc_tag = &quot;teg&quot;;<br />
set @desc_meta_title = &quot;meta title&quot;;<br />
set @desc_meta_description = &quot;meta description&quot;;<br />
set @desc_meta_keyword = &quot;meta keyword&quot;;<br />
set @Concat_image = &quot;catalog/demo/ipod_nano_5.jpg1\tcatalog/demo/ipod_nano_4.jpg\tcatalog/demo/ipod_nano_123.jpg&quot;;<br />
set @Concat_image_sort_order = &quot;1\t2\t3&quot;;<br />
set @flag_new_language = false;<br />
set @flag_overwrite_product = true;<br />
set @flag_overwrite_description = true;<br />
set @flag_remove_old_images = false;<br />
<br />
<br />
CALL insertProduct(@bIsOk,<br />
@product_id,<br />
@language_id,<br />
@prd_model,<br />
@prd_sku,<br />
@prd_upc,<br />
@prd_ean,<br />
@prd_jan,<br />
@prd_isbn,<br />
@prd_mpn,<br />
@prd_location,<br />
@prd_quantity,<br />
@prd_stock_status_id,<br />
@prd_image,<br />
@prd_manufacturer_id,<br />
@prd_shipping,<br />
@prd_price,<br />
@prd_points,<br />
@prd_tax_class_id,<br />
@prd_date_available,<br />
@prd_weight,<br />
@prd_weight_class_id,<br />
@prd_length,<br />
@prd_width,<br />
@prd_height,<br />
@prd_length_class_id,<br />
@prd_subtract,<br />
@prd_minimum,<br />
@prd_sort_order,<br />
@prd_status,<br />
@desc_name,<br />
@desc_description,<br />
@desc_tag,<br />
@desc_meta_title,<br />
@desc_meta_description,<br />
@desc_meta_keyword, <br />
@Concat_image,<br />
@Concat_image_sort_order,<br />
@flag_new_language, <br />
@flag_overwrite_product,<br />
@flag_overwrite_description,<br />
@flag_remove_old_images<br />
);<br />
<br />
SELECT @bIsOk As Is_OK, @product_id As Pruduct_ID;]]></description>
            <dc:creator>matthew Baynham</dc:creator>
            <category>Quality Assurance</category>
            <pubDate>Sun, 11 Oct 2020 16:04:58 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?132,689468,689468#msg-689468</guid>
            <title>Regarding Error code : 1406 : Data Truncation : Data too long for column (6 replies)</title>
            <link>https://forums.mysql.com/read.php?132,689468,689468#msg-689468</link>
            <description><![CDATA[ Hello,<br />
<br />
I have an error saying<br />
Regarding Error code : 1406 : Data Truncation : Data too long for column<br />
<br />
scenario: <br />
version: 8.0.19<br />
<br />
I am fetching data from federated table (source),<br />
<br />
<br />
source:<br />
<br />
column length is varchar(50).<br />
I have 1 record in this table at id say 517 with length 50.<br />
ENGINE=FEDERATED DEFAULT CHARSET=utf8 <br />
<br />
Destination:<br />
column length is varchar(50).<br />
ENGINE=InnoDB DEFAULT CHARSET=utf8<br />
<br />
Issue:<br />
<br />
when i read data from source and insert in destination table in range say rows from 515 to 518, it give error: Error code : 1406 : Data Truncation : Data too long for column and showing error in data at ID=517.<br />
<br />
but if I insert data specific for ID=517, it inserted without any error.<br />
<br />
I am using strict mode and tried with removing strict mode with<br />
SET @@global.sql_mode= &#039;&#039;;<br />
but same error.<br />
<br />
what could be the issue and how to solve it.]]></description>
            <dc:creator>Vivek Kumar Sharma</dc:creator>
            <category>Quality Assurance</category>
            <pubDate>Wed, 21 Oct 2020 06:00:48 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?132,688988,688988#msg-688988</guid>
            <title>Win 10 Task Manager shows 2 instances of mysqld process (3 replies)</title>
            <link>https://forums.mysql.com/read.php?132,688988,688988#msg-688988</link>
            <description><![CDATA[ My Windows 10 shows 2 instances of mysqld processes running.<br />
<br />
cmd&gt; tasklist /fi &quot;imagename eq mysqld.exe&quot;    shows:<br />
<br />
Image Name     PID Session Name  Session#    Mem Usage<br />
================== ============== =========  ==========<br />
mysqld.exe     5656 Services       0         7,620 K<br />
mysqld.exe     7804 Services       0         354,208 K<br />
<br />
<br />
I do not use more than one mysql instance. When I installed MySQL initially,<br />
it showed up in the Services list and I set it to run Automatically.<br />
I never run anything from the command line involving invocation.<br />
<br />
For each of the processes above I ran:<br />
cmd&gt; Get-WmiObject Win32_Process -Filter &quot;name = &#039;mysqld.exe&#039;&quot; | where {$_.ProcessID -eq 5656 }<br />
<br />
__PATH                     : \\SCOUT\root\cimv2:Win32_Process.Handle=&quot;5656&quot;<br />
Caption                    : mysqld.exe<br />
CommandLine                : &quot;C:\Program Files\MySQL\MySQL Server 8.0\bin\mysqld.exe&quot; --defaults-file=&quot;C:\ProgramData\MySQL\MySQL Server 8.0\my.ini&quot; MySQL80<br />
<br />
<br />
__PATH                     : \\SCOUT\root\cimv2:Win32_Process.Handle=&quot;7804&quot;<br />
Caption                    : mysqld.exe<br />
CommandLine                : &quot;C:\Program Files\MySQL\MySQL Server 8.0\bin\mysqld.exe&quot; &quot;--defaults-file=C:\ProgramData\MySQL\MySQL Server 8.0\my.ini&quot; MySQL80<br />
<br />
One of these instances is a dud -- the pid 5656.<br />
You can see that one of the instances was invoked wrong.<br />
See the odd double-quote differences for the command line information.<br />
<br />
<br />
My installs are:<br />
Windows 10 version 2004<br />
MySQL 5.8.16<br />
MySQL Workbench 8.0<br />
<br />
I&#039;ve been using MySQL for years. I did the Windows 10 2004 feature update just a few days ago. <br />
I think (??) that before that I would only see one instance of mysqld in the Task Manager. <br />
<br />
Here is one real problem, not just an observation:<br />
I cannot stop the mysql service using the Services list. It gives up with failure because the action timed out.<br />
The Services list shows only 1 instance, but the Task Manager shows 2 items. <br />
Perhaps the system is confused on which to close or how to do both --- ?<br />
I can successfully kill both processes from the Task Manager.<br />
I think this may be making my system RESTART action **very slow** since closing down the mysqld processes is troublesome.<br />
<br />
If I restart the computer, both instances show up right away.<br />
<br />
Even with the detailed Get-Wmi-Object info, there is no indication of who/what starts each instance.<br />
<br />
Is this process something started by how mysql is initiated, or does Windows initiate it?<br />
Seems something has a bug in the initiation of mysql. Is it MySQL or Windows or ???]]></description>
            <dc:creator>Judy Whiteside</dc:creator>
            <category>Quality Assurance</category>
            <pubDate>Tue, 21 Jul 2020 16:00:30 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?132,688838,688838#msg-688838</guid>
            <title>mySQL database table disappears but leaves reference in PHPmyAdmin navigation panel (2 replies)</title>
            <link>https://forums.mysql.com/read.php?132,688838,688838#msg-688838</link>
            <description><![CDATA[ I have been having an ongoing battle with Go Daddy regarding tables disappearing from a database but still leaving the reference to the table in the PHPmyAdmin navigation panel (Note: The table was not deleted by me.). If I click the hyperlink for the table, I receive an error: #1146 – Table ‘cps_db_sa.bdls’ doesn’t exist. This happened two months ago and because I felt the database must&#039;ve been corrupted in some way I rebuilt a brand-new database from scratch (NOT using a backup restore). It has been running smoothly for two months but this morning the same thing happened although it was a different table that disappeared. Because this is a development database no other user has access; I have not created any &#039;write&#039; queries as of yet (e.g., INSERT) so the only queries are fetch (e.g., SELECT). We are also on a shared hosting platform.<br />
<br />
Go Daddy is telling me it must be something I&#039;m doing but because this database was running smoothly for many weeks and the fact that I was not even in the database yesterday, it seems odd to now have a table just disappear like this. Have any of you experienced this phenomenon? Thank you for any input you can provide.]]></description>
            <dc:creator>Neil Dempster</dc:creator>
            <category>Quality Assurance</category>
            <pubDate>Mon, 13 Jul 2020 20:57:59 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?132,688148,688148#msg-688148</guid>
            <title>mysql8.0.18  a killed tread cant released (no replies)</title>
            <link>https://forums.mysql.com/read.php?132,688148,688148#msg-688148</link>
            <description><![CDATA[ Hi:<br />
<br />
 I met a very  difficult problem. A threads keep in killed for days.it was doing a simple searching （select count(*)）. as i knew it was a New feature（innodb_parallel_read_threads=4）what made select count() faster<br />
 in mysql8.0. it happenned twice already and now it  happen in another mysql server.<br />
<br />
undo logs cant be truncated by mysql system and Grow to 5G per file· cpu was full buzy.no err in errlog]]></description>
            <dc:creator>Danie Dong</dc:creator>
            <category>Quality Assurance</category>
            <pubDate>Mon, 08 Jun 2020 06:32:39 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?132,688122,688122#msg-688122</guid>
            <title>Call to mysqld_safe in mysql.server script keeps script running. (2 replies)</title>
            <link>https://forums.mysql.com/read.php?132,688122,688122#msg-688122</link>
            <description><![CDATA[ Hi,<br />
<br />
Apologies if this is the wrong thread to post this. I was about to file a bug report but I&#039;m net entirely sure this is a bug.<br />
<br />
I&#039;m trying to start MySQL on a remote machine using libssh2. When using the command &quot;mysql.server start&quot; it keeps running and never returns a status code.<br />
<br />
Looking at the mysql.server script, the problem seems to be related to this line where mysqld_safe is called:<br />
<br />
$bindir/mysqld_safe --datadir=&quot;$datadir&quot; --pid-file=&quot;$mysqld_pid_file_path&quot; $other_args &gt;/dev/null &amp;<br />
<br />
I can see at the end the output being redirected to /dev/null and the call being run on the background.<br />
<br />
However, I think my call to mysql.server from libssh2 keeps running because of some kind of activity on the error output.<br />
<br />
Changing it as follows, redirecting stderr to stdout to also be discarded fixes this problem:<br />
<br />
$bindir/mysqld_safe --datadir=&quot;$datadir&quot; --pid-file=&quot;$mysqld_pid_file_path&quot; $other_args &gt;/dev/null 2&gt;&amp;1 &amp;<br />
<br />
I&#039;m not too familiar with this kind of stuff so apologies if anything doesn&#039;t make sense. I&#039;m just assuming that mysql.server script is only supposed to initiate startup and exit rather than monitoring error output but please tell me if I&#039;m wrong.]]></description>
            <dc:creator>Levi Dhuyvetter</dc:creator>
            <category>Quality Assurance</category>
            <pubDate>Sat, 06 Jun 2020 18:54:56 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?132,683519,683519#msg-683519</guid>
            <title>How do we escalate a bug report? (4 replies)</title>
            <link>https://forums.mysql.com/read.php?132,683519,683519#msg-683519</link>
            <description><![CDATA[ There is a bug (#94294) that has been ignored by the development community for way too long.  It appeared in v8, a &quot;fix&quot; was introduced in 8.0.13 (not a great fix, but worked), which itself disappeared in 8.0.14, without an alternate fix. The bug affects users of Workbench with MySQL 5.7 or any MariaDB.  The &quot;feature&quot; introduced in v8, which originated the bug, is of dubious value, but that is not the topic here.<br />
<br />
The bug has been closed! And, prior to that, its severity was lowered. The bug is filed against MacOS, but it really affects all versions of Workbench.<br />
<br />
We are stuck in version 8.0.13 of Workbench when it has seen significant improvements up to 8.0.18 (the last one I have checked).<br />
<br />
Nobody seems to be listening to comments in that bug report, there are plenty of people requesting that the bug be reopened. It impacts backups of MySQL 5.7 or MariaDB.<br />
<br />
So, back to the subject, how do we escalate so someone reads the bug report and hopefully installs again the fix of 8.0.13, perhaps done properly as outlined in the same bug report?<br />
<br />
Thanks,<br />
Rafael]]></description>
            <dc:creator>Rafael Bracho</dc:creator>
            <category>Quality Assurance</category>
            <pubDate>Fri, 06 Mar 2020 19:03:34 +0000</pubDate>
        </item>
    </channel>
</rss>
