1
by brian
clean slate |
1 |
# Windows does not have SOCKET, but will try to create a PIPE as well as MEMORY |
2 |
--source include/not_windows.inc
|
|
3 |
||
4 |
# test for Bug #4998 "--protocol doesn't reject bad values" |
|
5 |
||
6 |
--exec echo "select ' ok' as '<default>'" | $MYSQL
|
|
7 |
--exec echo "select ' ok' as 'TCP'" | $MYSQL --protocol=TCP
|
|
8 |
--exec echo "select ' ok' as 'SOCKET'" | $MYSQL --protocol=SOCKET
|
|
9 |
--exec echo "select ' ok' as 'PIPE'" | $MYSQL --protocol=PIPE 2>&1 || true
|
|
10 |
--exec echo "select ' ok' as 'MEMORY'" | $MYSQL --protocol=MEMORY 2>&1 || true
|
|
11 |
--exec echo "select ' ok' as 'NullS'" | $MYSQL --protocol=NullS 2>&1 || true
|
|
12 |
||
13 |
# End of 4.1 tests |