From fb2d8c96f246a97d4cf995263731cd89996012a4 Mon Sep 17 00:00:00 2001 From: Erik Wrenholt Date: Sun, 19 Jul 2020 14:14:15 -0500 Subject: [PATCH] ran crystal format --- src/mysql/connection.cr | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mysql/connection.cr b/src/mysql/connection.cr index fec3ad6..fbcca34 100644 --- a/src/mysql/connection.cr +++ b/src/mysql/connection.cr @@ -23,17 +23,17 @@ class MySql::Connection < DB::Connection else initial_catalog = nil end - + if !context.uri.query.nil? params = HTTP::Params.parse(context.uri.query.to_s) end - + if !params.nil? && params.has_key?("socket") @socket = UNIXSocket.new(params["socket"]) else @socket = TCPSocket.new(host, port) end - + handshake = read_packet(Protocol::HandshakeV10) write_packet(1) do |packet|