Bug #24306 SQLBulkOperations always uses indicator varables' values from the first record
Submitted: 14 Nov 2006 17:58 Modified: 30 Apr 2007 16:01
Reporter: Alessio Biasutto
Status: Closed
Category:Connector/ODBC Severity:S1 (Critical)
Version:3.51.12 OS:Microsoft Windows (Windows XP)
Assigned to: Jim Winstead Target Version:

File: Maximum allowed size is 500KB.
Description:
Privacy:

If the data you need to attach is more than 500KB, you should create a compressed archive of the data and a README file that describes the data with a filename that includes the bug number (example: bug-data-24306.zip), and use FTP to upload the archive to ftp://ftp.mysql.com/pub/mysql/upload/. Once you have uploaded the file, add a comment to this bug to notify us about it. Note: This directory is unlistable, which means that once you have uploaded your file, you will not be able to see it.

All entries become the exclusive editorial property of Sun Microsystems, Inc.

[22 Nov 2006 23:17] Bogdan Degtyariov
test case

Attachment: my_bulk.c (text/x-csrc), 2.07 KiB.

[22 Nov 2006 23:18] Bogdan Degtyariov
header file included by the test case

Attachment: mytest3.h (text/plain), 17.65 KiB.

[23 Nov 2006 22:01] Bogdan Degtyariov
Updated test case

Attachment: my_bulk.c (text/x-csrc), 2.07 KiB.

[12 Mar 2007 22:21] Jim Winstead
patch to fix problems with indicators during batch insert

Attachment: bug24306.diff (application/octet-stream, text), 13.29 KiB.

[21 Mar 2007 23:33] Jim Winstead
updated patch that also handles bind offsets and row-wise binding (plus more tests)

Attachment: bug24306.diff (application/octet-stream, text), 16.83 KiB.