Details
-
Bug
-
Status: Closed (View Workflow)
-
Critical
-
Resolution: Fixed
-
3.0.1
-
None
-
None
-
Fedora linux
mariadb-connector-c-3.0.1-beta
Server version: 10.2.4-MariaDB MariaDB Server
Description
Using the example in:
https://mariadb.com/kb/en/mariadb/bulk-insert-row-wise-binding/
If I change array_size from 3 to 1 I get the following stored in the db:
select * from example_db.bulk_example2;
+----+----------+---------+
|
| id | forename | surname |
|
+----+----------+---------+
|
| 1 | | Monty |
|
+----+----------+---------+
|
I would have expected:
+----+----------+----------+
|
| id | forename | surname |
|
+----+----------+----------+
|
| 1 | Monty | Widenius |
|
+----+----------+---------+
|
When array_size=3 I get, as expected, the following stored in the db:
+----+----------+----------+
|
| id | forename | surname |
|
+----+----------+----------+
|
| 1 | Monty | Widenius |
|
| 2 | David | Axmark |
|
| 3 | unknown | N.N. |
|
+----+----------+----------+
|
Attachments
Issue Links
- is blocked by
-
MDEV-12256 Fix BULK INSERT to be able to use it for single iteration
- Closed
-
MDEV-12471 BULK Command
- Closed