Bug #24306 | SQLBulkOperations always uses indicator varables' values from the first record | ||
---|---|---|---|
Submitted: | 14 Nov 2006 16:58 | Modified: | 30 Apr 2007 14:01 |
Reporter: | Alessio Biasutto | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | Connector / ODBC | Severity: | S1 (Critical) |
Version: | 3.51.12 | OS: | Windows (Windows XP) |
Assigned to: | Jim Winstead | CPU Architecture: | Any |
If the data you need to attach is more than 50MB, you should create a compressed archive of the data, split it to 50MB chunks, and upload each of them as a separate attachment.
To split a large file:
- On *nix platforms use the split command e.g.
split -b 50MB <my_large_archive> <my_split_archive_prefix>
- On windows use WinZip or a similar utility to split the large file
[22 Nov 2006 22:17]
Bogdan Degtyariov
[22 Nov 2006 22:18]
Bogdan Degtyariov
header file included by the test case
Attachment: mytest3.h (text/plain), 17.65 KiB.
[23 Nov 2006 21:01]
Bogdan Degtyariov
Updated test case
Attachment: my_bulk.c (text/x-csrc), 2.07 KiB.
[12 Mar 2007 21: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 22: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.