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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
6c2dad0d
Commit
6c2dad0d
authored
Sep 27, 2005
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge rurik.mysql.com:/home/igor/mysql-5.0
into rurik.mysql.com:/home/igor/dev/mysql-5.0-2
parents
d7e4e1a5
fe3e77d8
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
11 additions
and
26 deletions
+11
-26
innobase/buf/buf0flu.c
innobase/buf/buf0flu.c
+2
-2
innobase/include/trx0trx.h
innobase/include/trx0trx.h
+2
-2
innobase/srv/srv0start.c
innobase/srv/srv0start.c
+1
-1
innobase/trx/trx0sys.c
innobase/trx/trx0sys.c
+0
-19
innobase/trx/trx0trx.c
innobase/trx/trx0trx.c
+2
-2
server-tools/instance-manager/portability.h
server-tools/instance-manager/portability.h
+4
-0
No files found.
innobase/buf/buf0flu.c
View file @
6c2dad0d
...
@@ -230,7 +230,7 @@ buf_flush_buffered_writes(void)
...
@@ -230,7 +230,7 @@ buf_flush_buffered_writes(void)
ulint
len2
;
ulint
len2
;
ulint
i
;
ulint
i
;
if
(
trx_doublewrite
==
NULL
)
{
if
(
!
srv_use_doublewrite_buf
||
trx_doublewrite
==
NULL
)
{
os_aio_simulated_wake_handler_threads
();
os_aio_simulated_wake_handler_threads
();
return
;
return
;
...
@@ -503,7 +503,7 @@ buf_flush_write_block_low(
...
@@ -503,7 +503,7 @@ buf_flush_write_block_low(
#endif
#endif
buf_flush_init_for_writing
(
block
->
frame
,
block
->
newest_modification
,
buf_flush_init_for_writing
(
block
->
frame
,
block
->
newest_modification
,
block
->
space
,
block
->
offset
);
block
->
space
,
block
->
offset
);
if
(
!
trx_doublewrite
)
{
if
(
!
srv_use_doublewrite_buf
||
!
trx_doublewrite
)
{
fil_io
(
OS_FILE_WRITE
|
OS_AIO_SIMULATED_WAKE_LATER
,
fil_io
(
OS_FILE_WRITE
|
OS_AIO_SIMULATED_WAKE_LATER
,
FALSE
,
block
->
space
,
block
->
offset
,
0
,
UNIV_PAGE_SIZE
,
FALSE
,
block
->
space
,
block
->
offset
,
0
,
UNIV_PAGE_SIZE
,
(
void
*
)
block
->
frame
,
(
void
*
)
block
);
(
void
*
)
block
->
frame
,
(
void
*
)
block
);
...
...
innobase/include/trx0trx.h
View file @
6c2dad0d
...
@@ -62,7 +62,7 @@ void
...
@@ -62,7 +62,7 @@ void
trx_set_detailed_error
(
trx_set_detailed_error
(
/*===================*/
/*===================*/
trx_t
*
trx
,
/* in: transaction struct */
trx_t
*
trx
,
/* in: transaction struct */
char
*
msg
);
/* in: detailed error message */
c
onst
c
har
*
msg
);
/* in: detailed error message */
/*****************************************************************
/*****************************************************************
Set detailed error message for the transaction from a file. Note that the
Set detailed error message for the transaction from a file. Note that the
file is rewinded before reading from it. */
file is rewinded before reading from it. */
...
...
innobase/srv/srv0start.c
View file @
6c2dad0d
...
@@ -1540,7 +1540,7 @@ NetWare. */
...
@@ -1540,7 +1540,7 @@ NetWare. */
#endif
#endif
sync_order_checks_on
=
TRUE
;
sync_order_checks_on
=
TRUE
;
if
(
srv_use_doublewrite_buf
&&
trx_doublewrite
==
NULL
)
{
if
(
trx_doublewrite
==
NULL
)
{
/* Create the doublewrite buffer to a new tablespace */
/* Create the doublewrite buffer to a new tablespace */
trx_sys_create_doublewrite_buf
();
trx_sys_create_doublewrite_buf
();
...
...
innobase/trx/trx0sys.c
View file @
6c2dad0d
...
@@ -125,22 +125,6 @@ trx_doublewrite_init(
...
@@ -125,22 +125,6 @@ trx_doublewrite_init(
*
sizeof
(
void
*
));
*
sizeof
(
void
*
));
}
}
/********************************************************************
Frees the doublewrite buffer. */
static
void
trx_doublewrite_free
(
void
)
/*======================*/
{
mutex_free
(
&
(
trx_doublewrite
->
mutex
));
mem_free
(
trx_doublewrite
->
buf_block_arr
);
ut_free
(
trx_doublewrite
->
write_buf_unaligned
);
mem_free
(
trx_doublewrite
);
trx_doublewrite
=
NULL
;
}
/********************************************************************
/********************************************************************
Marks the trx sys header when we have successfully upgraded to the >= 4.1.x
Marks the trx sys header when we have successfully upgraded to the >= 4.1.x
multiple tablespace format. */
multiple tablespace format. */
...
@@ -529,9 +513,6 @@ trx_sys_doublewrite_init_or_restore_pages(
...
@@ -529,9 +513,6 @@ trx_sys_doublewrite_init_or_restore_pages(
fil_flush_file_spaces
(
FIL_TABLESPACE
);
fil_flush_file_spaces
(
FIL_TABLESPACE
);
if
(
!
srv_use_doublewrite_buf
)
trx_doublewrite_free
();
leave_func:
leave_func:
ut_free
(
unaligned_read_buf
);
ut_free
(
unaligned_read_buf
);
}
}
...
...
innobase/trx/trx0trx.c
View file @
6c2dad0d
...
@@ -59,7 +59,7 @@ void
...
@@ -59,7 +59,7 @@ void
trx_set_detailed_error
(
trx_set_detailed_error
(
/*===================*/
/*===================*/
trx_t
*
trx
,
/* in: transaction struct */
trx_t
*
trx
,
/* in: transaction struct */
char
*
msg
)
/* in: detailed error message */
c
onst
c
har
*
msg
)
/* in: detailed error message */
{
{
ut_strlcpy
(
trx
->
detailed_error
,
msg
,
sizeof
(
trx
->
detailed_error
));
ut_strlcpy
(
trx
->
detailed_error
,
msg
,
sizeof
(
trx
->
detailed_error
));
}
}
...
...
server-tools/instance-manager/portability.h
View file @
6c2dad0d
#ifndef INCLUDES_MYSQL_INSTANCE_MANAGER_PORTABILITY_H
#ifndef INCLUDES_MYSQL_INSTANCE_MANAGER_PORTABILITY_H
#define INCLUDES_MYSQL_INSTANCE_MANAGER_PORTABILITY_H
#define INCLUDES_MYSQL_INSTANCE_MANAGER_PORTABILITY_H
#if defined(__SCO_DS) && !defined(SHUT_RDWR)
#define SHUT_RDWR 2
#endif
#ifdef __WIN__
#ifdef __WIN__
#define vsnprintf _vsnprintf
#define vsnprintf _vsnprintf
...
...
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