Merge lp:~miguelaraujo/mysql-proxy/load_data_infile_handling into lp:mysql-proxy/0.8
Proposed by
Miguel Araújo
Status: | Merged |
---|---|
Merged at revision: | 1248 |
Proposed branch: | lp:~miguelaraujo/mysql-proxy/load_data_infile_handling |
Merge into: | lp:mysql-proxy/0.8 |
Diff against target: |
98 lines (+37/-3) 3 files modified
plugins/proxy/proxy-plugin.c (+7/-2) src/network-mysqld.c (+25/-1) src/network-mysqld.h (+5/-0) |
To merge this branch: | bzr merge lp:~miguelaraujo/mysql-proxy/load_data_infile_handling |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Jan Kneschke (community) | Approve | ||
Review via email: mp+98836@code.launchpad.net |
Description of the change
redesigned handling of LOAD DATA INFILE statements:
- instead of buffering the whole data until the last packet and then send it to the backends,
we send immediatly each packet of data received to the backends until there is no more
data to read;
- added new flag on mysql connection struct (gboolean local_file_
used to indicate whether we have received all data from LOAD DATA INFILE;
added safe-guard for the connection state-machine:
- critical message if the state-machines reaches the end without waiting for an event;
To post a comment you must log in.