~drizzle-trunk/drizzle/development

1 by brian
clean slate
1
#### include/show_msg.inc
2
#
3
# This file writes the value set in @message into the
4
# a protocol file as part of executing a test sequence
5
#
6
# Usage:
7
#    Add the following to any *.test file:
8
#      :
9
#    let $message= <value>;
10
#    --source include/show_msg.inc
11
#      :
12
#
13
# Attention:
14
#   - Please do not write any spaces between $message and the "=", because the
15
#     assignment will not work.
16
#   - Be careful with single quotes. They must be escaped like "''" or "\'".
17
#
18
# "include/show_msg80.inc" contains a detailed description and examples.
19
20
--disable_query_log
21
eval SET @utf8_message = CONVERT('$message' using utf8);
22
select @utf8_message as ""
23
union
24
select repeat(CONVERT('-' using utf8),char_length(@utf8_message));
25
--enable_query_log