Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
a64115d1
Commit
a64115d1
authored
Jun 10, 2005
by
obarnir@mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge obarnir@bk-internal.mysql.com:/home/bk/mysql-5.0
into mysql.com:/home/omer/source/src50_0609
parents
d11be61a
156d351e
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
77 additions
and
0 deletions
+77
-0
BitKeeper/etc/logging_ok
BitKeeper/etc/logging_ok
+1
-0
mysql-test/include/show_msg.inc
mysql-test/include/show_msg.inc
+19
-0
mysql-test/include/show_msg80.inc
mysql-test/include/show_msg80.inc
+23
-0
mysql-test/r/mysqltest.result
mysql-test/r/mysqltest.result
+14
-0
mysql-test/t/mysqltest.test
mysql-test/t/mysqltest.test
+20
-0
No files found.
BitKeeper/etc/logging_ok
View file @
a64115d1
...
...
@@ -202,6 +202,7 @@ ndbdev@ndbmaster.mysql.com
ndbdev@shark.
nick@mysql.com
nick@nick.leippe.com
obarnir@mysql.com
papa@gbichot.local
patg@krsna.
patg@krsna.patg.net
...
...
mysql-test/include/show_msg.inc
0 → 100755
View file @
a64115d1
#### 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:
# :
# set @message="This is a message example";
# --source include/show_msg.inc
# :
#
--
disable_query_log
SET
@
utf8_message
=
CONVERT
(
@
message
using
utf8
);
select
@
utf8_message
as
""
union
select
repeat
(
CONVERT
(
'-'
using
utf8
),
char_length
(
@
utf8_message
));
--
enable_query_log
mysql-test/include/show_msg80.inc
0 → 100755
View file @
a64115d1
#### include/show_msg80.inc
#
# This file writes the value set in @message into the
# a protocol file as part of executing a test sequence
# with a dash line that is fixed on 80 characters.
# This can be used in the case of long messages,
# multi line messages that exceed 80 or if an 80 char
# line is desired for short messages.
#
# Usage:
# Add the following to any *.test file:
# :
# set @message="This is a message example";
# --source include/show_msg80.inc
# :
#
--
disable_query_log
SET
@
utf8_message
=
CONVERT
(
@
message
using
utf8
);
select
@
utf8_message
as
""
union
select
repeat
(
CONVERT
(
'-'
using
utf8
),
80
);
--
enable_query_log
mysql-test/r/mysqltest.result
View file @
a64115d1
...
...
@@ -148,3 +148,17 @@ a'b a"b
select 'aaa\\','aa''a',"aa""a";
aaa\ aa'a aa"a
aaa\ aa'a aa"a
SET @message = 'Here comes a message';
Here comes a message
--------------------
SET @message = USER();
root@localhost
--------------
SET @message = 'Here comes a very very long message that is longer then 80 characters
on multiple lines';
Here comes a very very long message that is longer then 80 characters
on multiple lines
--------------------------------------------------------------------------------
mysql-test/t/mysqltest.test
View file @
a64115d1
...
...
@@ -295,3 +295,23 @@ select 1 as `a'b`, 2 as `a"b`;
# Test escaping of quotes
select
'aaa\\'
,
'aa''a'
,
"aa""a"
;
#
# Check of include/show_msg.inc
#
# The message contains in most cases a string with the default character set
SET
@
message
=
'Here comes a message'
;
--
source
include
/
show_msg
.
inc
# The message could also contain a string with character set utf8
SET
@
message
=
USER
();
--
source
include
/
show_msg
.
inc
# The message contains more then 80 characters on multiple lines
SET
@
message
=
'Here comes a very very long message that is longer then 80 characters
on multiple lines'
;
--
source
include
/
show_msg80
.
inc
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment