Details
- 
    Bug 
- 
    Status: Closed (View Workflow)
- 
    Major 
- 
    Resolution: Fixed
- 
    None
Description
The pattern in org.mariadb.jdbc.message.ClientMessage.validateLocalFileName requires that the sql statement - apart from leading comments - starts with the "LOAD DATA" statement.
The combination with other statements within the same sql string is blocked.
A statement like the this is therefor currently not possible:
{{SET @row = 0; LOAD DATA ... SET file_line_no = @row:=@row+1;
}}
The validateLocalFileName need be adjusted to allow other statements prior to the "LOAD DATA" statement in the sql string.