1
# Embedded server doesn't support external clients
2
--source include/not_embedded.inc
3
# Windows does not have SOCKET, but will try to create a PIPE as well as MEMORY
4
--source include/not_windows.inc
6
# test for Bug #4998 "--protocol doesn't reject bad values"
8
--exec echo "select ' ok' as '<default>'" | $MYSQL
9
--exec echo "select ' ok' as 'TCP'" | $MYSQL --protocol=TCP
10
--exec echo "select ' ok' as 'SOCKET'" | $MYSQL --protocol=SOCKET
11
--exec echo "select ' ok' as 'PIPE'" | $MYSQL --protocol=PIPE 2>&1 || true
12
--exec echo "select ' ok' as 'MEMORY'" | $MYSQL --protocol=MEMORY 2>&1 || true
13
--exec echo "select ' ok' as 'NullS'" | $MYSQL --protocol=NullS 2>&1 || true