2005-03-30 03:17:46 +02:00
|
|
|
# Embedded server doesn't support external clients
|
|
|
|
--source include/not_embedded.inc
|
2006-03-01 15:22:47 +01:00
|
|
|
# Windows does not have SOCKET, but will try to create a PIPE as well as MEMORY
|
|
|
|
--source include/not_windows.inc
|
2004-08-23 17:55:09 +02:00
|
|
|
|
|
|
|
# test for Bug #4998 "--protocol doesn't reject bad values"
|
|
|
|
|
|
|
|
--exec echo "select ' ok' as '<default>'" | $MYSQL
|
|
|
|
--exec echo "select ' ok' as 'TCP'" | $MYSQL --protocol=TCP
|
|
|
|
--exec echo "select ' ok' as 'SOCKET'" | $MYSQL --protocol=SOCKET
|
2004-09-30 19:40:33 +02:00
|
|
|
--exec echo "select ' ok' as 'PIPE'" | $MYSQL --protocol=PIPE 2>&1 || true
|
|
|
|
--exec echo "select ' ok' as 'MEMORY'" | $MYSQL --protocol=MEMORY 2>&1 || true
|
|
|
|
--exec echo "select ' ok' as 'NullS'" | $MYSQL --protocol=NullS 2>&1 || true
|
2004-08-23 17:55:09 +02:00
|
|
|
|
2005-07-28 02:22:47 +02:00
|
|
|
# End of 4.1 tests
|