use of com.actiontech.dble.server.handler.ServerLoadDataInfileHandler in project dble by actiontech.
the class ServerConnectionFactory method getConnection.
@Override
protected FrontendConnection getConnection(NetworkChannel channel) throws IOException {
ServerConnection c = new ServerConnection(channel);
c.setSocketParams(true);
c.setPrivileges(ServerPrivileges.instance());
c.setQueryHandler(new ServerQueryHandler(c));
c.setLoadDataInfileHandler(new ServerLoadDataInfileHandler(c));
c.setPrepareHandler(new ServerPrepareHandler(c));
SystemConfig sys = DbleServer.getInstance().getConfig().getSystem();
c.setTxIsolation(sys.getTxIsolation());
c.setSession2(new NonBlockingSession(c));
return c;
}
Aggregations