[CONC-116] mariadbclient.lib crash on load data local infile in multithreaded application. Created: 2014-11-27  Updated: 2014-11-27  Resolved: 2014-11-27

Status: Closed
Project: MariaDB Connector/C
Component/s: None
Affects Version/s: None
Fix Version/s: 2.0.0

Type: Bug Priority: Major
Reporter: Abhishek Assignee: Georg Richter
Resolution: Not a Bug Votes: 0
Labels: None
Environment:

Windows 8, Visual studio 10.


Attachments: Text File crash_report.cpp     Text File crash_stack_trace.txt    

 Description   

Mariadb library crashes on load data local infile if executed in separate thread. All other queries are working fine. I have attached sample source code of console application to reproduce this crash. JIRA interface doesn't allow me to attach whole visual studio project( compressed size~11 MB).Stack trace is also attached. Please fix it.



 Comments   
Comment by Georg Richter [ 2014-11-27 ]

Please read documentation and how to use client in threaded applications:

georg@mozart:~/work/mariadb/conc-116> grep -c mysql_thread_init crash_report.cpp
0
georg@mozart:~/work/mariadb/conc-116> grep -c mysql_thread_end crash_report.cpp
0

Please also note that the LOAD DATA statement doesn't return a result set.

Comment by Abhishek [ 2014-11-27 ]

Hi,
Thanks for looking into it. Can you please point out mistakes I made in this program, I have gone through documentation. May be I am missing something. And Yes I know LOAD DATA doesn't return resultset.

Comment by Abhishek [ 2014-11-27 ]

I will also like to add, This application doesn't crash on any other query. It crashes just on LOAD DATA.

Generated at Thu Feb 08 03:03:00 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.