mirror of
https://github.com/MariaDB/server.git
synced 2025-01-31 11:01:52 +01:00
11 lines
474 B
Text
11 lines
474 B
Text
|
|
||
|
# 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
|
||
|
--exec echo "select ' ok' as 'PIPE'" | $MYSQL --protocol=PIPE 2>&1
|
||
|
--exec echo "select ' ok' as 'MEMORY'" | $MYSQL --protocol=MEMORY 2>&1
|
||
|
--exec echo "select ' ok' as 'NullS'" | $MYSQL --protocol=NullS 2>&1
|
||
|
|