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
ae89399c
Commit
ae89399c
authored
Jun 10, 2005
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge bk-internal:/home/bk/mysql-5.0
into serg.mylan:/usr/home/serg/Abk/mysql-5.0
parents
8eca7ad0
e187a4ef
Changes
8
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
91 additions
and
13 deletions
+91
-13
BitKeeper/etc/logging_ok
BitKeeper/etc/logging_ok
+1
-0
innobase/os/os0file.c
innobase/os/os0file.c
+9
-9
innobase/os/os0sync.c
innobase/os/os0sync.c
+3
-3
mysql-test/Makefile.am
mysql-test/Makefile.am
+2
-1
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 @
ae89399c
...
...
@@ -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
...
...
innobase/os/os0file.c
View file @
ae89399c
...
...
@@ -605,7 +605,7 @@ os_file_opendir(
lpFindFileData
=
ut_malloc
(
sizeof
(
WIN32_FIND_DATA
));
dir
=
FindFirstFile
(
path
,
lpFindFileData
);
dir
=
FindFirstFile
(
(
LPCTSTR
)
path
,
lpFindFileData
);
ut_free
(
lpFindFileData
);
...
...
@@ -686,15 +686,15 @@ os_file_readdir_next_file(
ret
=
FindNextFile
(
dir
,
lpFindFileData
);
if
(
ret
)
{
ut_a
(
strlen
(
lpFindFileData
->
cFileName
)
<
OS_FILE_MAX_PATH
);
ut_a
(
strlen
(
(
char
*
)
lpFindFileData
->
cFileName
)
<
OS_FILE_MAX_PATH
);
if
(
strcmp
(
lpFindFileData
->
cFileName
,
"."
)
==
0
||
strcmp
(
lpFindFileData
->
cFileName
,
".."
)
==
0
)
{
if
(
strcmp
(
(
char
*
)
lpFindFileData
->
cFileName
,
"."
)
==
0
||
strcmp
(
(
char
*
)
lpFindFileData
->
cFileName
,
".."
)
==
0
)
{
goto
next_file
;
}
strcpy
(
info
->
name
,
lpFindFileData
->
cFileName
);
strcpy
(
info
->
name
,
(
char
*
)
lpFindFileData
->
cFileName
);
info
->
size
=
(
ib_longlong
)(
lpFindFileData
->
nFileSizeLow
)
+
(((
ib_longlong
)(
lpFindFileData
->
nFileSizeHigh
))
<<
32
);
...
...
@@ -830,7 +830,7 @@ os_file_create_directory(
#ifdef __WIN__
BOOL
rcode
;
rcode
=
CreateDirectory
(
pathname
,
NULL
);
rcode
=
CreateDirectory
(
(
LPCTSTR
)
pathname
,
NULL
);
if
(
!
(
rcode
!=
0
||
(
GetLastError
()
==
ERROR_ALREADY_EXISTS
&&
!
fail_if_exists
)))
{
/* failure */
...
...
@@ -914,7 +914,7 @@ os_file_create_simple(
ut_error
;
}
file
=
CreateFile
(
name
,
file
=
CreateFile
(
(
LPCTSTR
)
name
,
access
,
FILE_SHARE_READ
|
FILE_SHARE_WRITE
,
/* file can be read ansd written also
...
...
@@ -1053,7 +1053,7 @@ os_file_create_simple_no_error_handling(
ut_error
;
}
file
=
CreateFile
(
name
,
file
=
CreateFile
(
(
LPCTSTR
)
name
,
access
,
share_mode
,
NULL
,
/* default security attributes */
...
...
@@ -1200,7 +1200,7 @@ os_file_create(
ut_error
;
}
file
=
CreateFile
(
name
,
file
=
CreateFile
(
(
LPCTSTR
)
name
,
GENERIC_READ
|
GENERIC_WRITE
,
/* read and write
access */
share_mode
,
/* File can be read also by other
...
...
innobase/os/os0sync.c
View file @
ae89399c
...
...
@@ -121,7 +121,7 @@ os_event_create(
event
->
handle
=
CreateEvent
(
NULL
,
/* No security attributes */
TRUE
,
/* Manual reset */
FALSE
,
/* Initial state nonsignaled */
name
);
(
LPCTSTR
)
name
);
if
(
!
event
->
handle
)
{
fprintf
(
stderr
,
"InnoDB: Could not create a Windows event semaphore; Windows error %lu
\n
"
,
...
...
@@ -177,7 +177,7 @@ os_event_create_auto(
event
->
handle
=
CreateEvent
(
NULL
,
/* No security attributes */
FALSE
,
/* Auto-reset */
FALSE
,
/* Initial state nonsignaled */
name
);
(
LPCTSTR
)
name
);
if
(
!
event
->
handle
)
{
fprintf
(
stderr
,
...
...
@@ -440,7 +440,7 @@ os_mutex_create(
mutex
=
CreateMutex
(
NULL
,
/* No security attributes */
FALSE
,
/* Initial state: no owner */
name
);
(
LPCTSTR
)
name
);
ut_a
(
mutex
);
#else
os_fast_mutex_t
*
mutex
;
...
...
mysql-test/Makefile.am
View file @
ae89399c
...
...
@@ -35,7 +35,8 @@ testdir = $(benchdir_root)/mysql-test
EXTRA_SCRIPTS
=
mysql-test-run.sh mysql-test-run.pl install_test_db.sh valgrind.supp
EXTRA_DIST
=
$(EXTRA_SCRIPTS)
test_SCRIPTS
=
mysql-test-run install_test_db
test_DATA
=
std_data/client-key.pem std_data/client-cert.pem std_data/cacert.pem
test_DATA
=
std_data/client-key.pem std_data/client-cert.pem std_data/cacert.pem
\
std_data/server-cert.pem std_data/server-key.pem
CLEANFILES
=
$(test_SCRIPTS)
$(test_DATA)
INCLUDES
=
-I
$(srcdir)
/../include
-I
../include
-I
..
...
...
mysql-test/include/show_msg.inc
0 → 100755
View file @
ae89399c
#### 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 @
ae89399c
#### 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 @
ae89399c
...
...
@@ -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 @
ae89399c
...
...
@@ -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