MariaDB: change connection state to CONNECTED after processing a query

Signed-off-by: swpd <swpdtz@gmail.com>
MariaDB: add multi-statement support

Signed-off-by: swpd <swpdtz@gmail.com>
MariaDB: add client flags macros

Signed-off-by: swpd <swpdtz@gmail.com>