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
6a3f93f4
Commit
6a3f93f4
authored
Oct 11, 2001
by
monty@hundin.mysql.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
InnoDB portability fixes
parent
1d7747aa
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
4 deletions
+8
-4
innobase/configure.in
innobase/configure.in
+1
-1
innobase/os/os0file.c
innobase/os/os0file.c
+4
-0
mysql-test/r/innodb.result
mysql-test/r/innodb.result
+3
-3
No files found.
innobase/configure.in
View file @
6a3f93f4
...
...
@@ -38,7 +38,7 @@ AC_CHECK_HEADERS(aio.h sched.h)
AC_CHECK_SIZEOF(int, 4)
AC_CHECK_FUNCS(sched_yield)
AC_CHECK_FUNCS(fdatasync)
AC_CHECK_FUNCS(localtime_r)
#AC_CHECK_FUNCS(localtime_r) # Already checked by MySQL
#AC_C_INLINE Already checked in MySQL
AC_C_BIGENDIAN
...
...
innobase/os/os0file.c
View file @
6a3f93f4
...
...
@@ -603,6 +603,7 @@ os_file_pread(
#ifdef HAVE_PREAD
return
(
pread
(
file
,
buf
,
n
,
offs
));
#else
{
ssize_t
ret
;
ulint
i
;
...
...
@@ -624,6 +625,7 @@ os_file_pread(
os_mutex_exit
(
os_file_seek_mutexes
[
i
]);
return
(
ret
);
}
#endif
}
...
...
@@ -660,6 +662,7 @@ os_file_pwrite(
return
(
ret
);
#else
{
ulint
i
;
/* Protect the seek / write operation with a mutex */
...
...
@@ -691,6 +694,7 @@ os_file_pwrite(
os_mutex_exit
(
os_file_seek_mutexes
[
i
]);
return
(
ret
);
}
#endif
}
#endif
...
...
mysql-test/r/innodb.result
View file @
6a3f93f4
...
...
@@ -134,8 +134,8 @@ Table Op Msg_type Msg_text
test.t1 optimize error The handler for the table doesn't support check/repair
Table Non_unique Key_name Seq_in_index Column_name Collation Cardinality Sub_part Packed Comment
t1 0 PRIMARY 1 id A 2 NULL NULL
t1 1 parent_id 1 parent_id A
4
NULL NULL
t1 1 level 1 level A
4
NULL NULL
t1 1 parent_id 1 parent_id A
2
NULL NULL
t1 1 level 1 level A
2
NULL NULL
gesuchnr benutzer_id
1 1
2 1
...
...
@@ -150,7 +150,7 @@ a b
Table Op Msg_type Msg_text
test.t1 analyze error The handler for the table doesn't support check/repair
Table Non_unique Key_name Seq_in_index Column_name Collation Cardinality Sub_part Packed Comment
t1 1 skr 1 a A
3
NULL NULL
t1 1 skr 1 a A
1
NULL NULL
a b
1
n after rollback
...
...
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