[MDEV-12471] BULK Command Created: 2017-04-07 Updated: 2018-05-23 Resolved: 2017-06-20 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Scripts & Clients |
| Fix Version/s: | 10.2.7 |
| Type: | Task | Priority: | Major |
| Reporter: | Oleksandr Byelkin | Assignee: | Oleksandr Byelkin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||||||||||||||||||
| Description |
| Comments |
| Comment by Oleksandr Byelkin [ 2017-05-02 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
revision-id: 53893cc05983bf865f78956ed1019ac558642620 (mariadb-10.2.5-128-g53893cc0598)
Core changes — | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Oleksandr Byelkin [ 2017-05-02 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
github tree is bb-10.2- | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Vladislav Vaintroub [ 2017-05-03 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
review done (in github). | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Diego Dupin [ 2017-05-09 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
When sending only one "row" with BULK format, i have an example where 2 results are inserted.
The exchanges are as expected, but for the 2 results:
The exact same command without the ""truncate test_batch" query works perfectly !? | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Diego Dupin [ 2017-05-15 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
last issue was corrected. Tests using java connector are completed. support of BULK when there is no parametersThis is exotic (there is no reallistic reason to support that). C/C and C/J won't use bulk protocol if there is no parameter, but it would be great if server send an exception if using bulk with no parameters. charset difference .There is some difference in charset handling when using COM_STMT_BULK_EXECUTE compared to using COM_STMT_EXECUTE. Table created with charset "create table fooLatin1 (x longtext) DEFAULT CHARSET=latin1". when sending in COM_STMT_EXECUTE:
same send using COM_STMT_BULK_EXECUTE :
data won't be store the same way : | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Diego Dupin [ 2017-05-17 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Previous problem are corrected. |