2005-06-09 20:01:23 +02:00
|
|
|
#### include/show_msg.inc
|
|
|
|
#
|
|
|
|
# This file writes the value set in @message into the
|
|
|
|
# a protocol file as part of executing a test sequence
|
|
|
|
#
|
|
|
|
# Usage:
|
|
|
|
# Add the following to any *.test file:
|
|
|
|
# :
|
2005-06-15 19:16:17 +02:00
|
|
|
# let $message= <value>;
|
2005-06-09 20:01:23 +02:00
|
|
|
# --source include/show_msg.inc
|
|
|
|
# :
|
|
|
|
#
|
2005-06-15 19:16:17 +02:00
|
|
|
# Attention:
|
|
|
|
# - Please do not write any spaces between $message and the "=", because the
|
|
|
|
# assignment will not work.
|
|
|
|
# - Be careful with single quotes. They must be escaped like "''" or "\'".
|
|
|
|
#
|
|
|
|
# "include/show_msg80.inc" contains a detailed description and examples.
|
2005-06-09 20:01:23 +02:00
|
|
|
|
|
|
|
--disable_query_log
|
2005-06-15 19:16:17 +02:00
|
|
|
eval SET @utf8_message = CONVERT('$message' using utf8);
|
2005-06-09 20:01:23 +02:00
|
|
|
select @utf8_message as ""
|
|
|
|
union
|
|
|
|
select repeat(CONVERT('-' using utf8),char_length(@utf8_message));
|
|
|
|
--enable_query_log
|