|
Permit faster connection with bundle commands in Client handshake response.
Driver execute different command on connection :
- set session info : SET autocommit=%option_autocommit%, sql_mode = concat(@@sql_mode,',STRICT_TRANS_TABLES')
- get session infos : SELECT @@max_allowed_packet , @@system_time_zone, @@time_zone, @@auto_increment_increment
- in case of aurora : show global variables like 'innodb_read_only'
- if createDatabaseIfNotExist option : CREATE DATABASE IF NOT EXISTS <db> and USE <db>
those queries will be send directly with Client handshake response, avoiding exchanges.
|