[MDEV-25767] MariaDB crashes with CONNECT engine ODBC Created: 2021-05-25  Updated: 2022-09-23  Resolved: 2022-09-23

Status: Closed
Project: MariaDB Server
Component/s: Storage Engine - Connect
Affects Version/s: 10.3.17
Fix Version/s: 10.3.37

Type: Bug Priority: Major
Reporter: tae ho lee Assignee: Daniel Black
Resolution: Fixed Votes: 0
Labels: crash
Environment:

centos7


Attachments: Text File err1.txt     Text File err2.txt     Text File err3.txt     File maria_create_sync_table.sql     File postgres_create_table.sql    

 Description   

I created table on MariaDB CONNECT and Postgresql to migrate datas from MariaDB to Postgresql.
I tested some queries , but they made MariaDB server crashed.
Here's my queries that caused this issue and scripts for creating tables.

1. DELETE * FROM SYNC.ACC009_SYNC

2. DELETE * FROM SYNC.ACC009_SYNC WHERE COM_CODE = '22546'



 Comments   
Comment by Andrew Hutchings [ 2022-08-26 ]

Reproduced this as above, the second delete causes the crash. tabodbc.cpp:556, Query is a NULL ptr.

Comment by Andrew Hutchings [ 2022-08-26 ]

PR open https://github.com/MariaDB/server/pull/2243

Generated at Thu Feb 08 09:40:12 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.