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
63abeac7
Commit
63abeac7
authored
Jan 06, 2005
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge mysql.com:/home/jwinstead2/mysql-4.1-7524
into mysql.com:/home/jwinstead2/mysql-4.1-clean
parents
0f00947b
d5ad4615
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
3 deletions
+17
-3
BUILD/compile-dist
BUILD/compile-dist
+1
-0
include/my_pthread.h
include/my_pthread.h
+1
-1
innobase/os/os0file.c
innobase/os/os0file.c
+15
-1
sql/sql_parse.cc
sql/sql_parse.cc
+0
-1
No files found.
BUILD/compile-dist
View file @
63abeac7
...
@@ -43,5 +43,6 @@ fi
...
@@ -43,5 +43,6 @@ fi
--with-berkeley-db
\
--with-berkeley-db
\
--with-innodb
\
--with-innodb
\
--enable-thread-safe-client
\
--enable-thread-safe-client
\
--with-extra-charsets
=
complex
\
--with-ndbcluster
--with-ndbcluster
make
make
include/my_pthread.h
View file @
63abeac7
...
@@ -639,7 +639,7 @@ extern int pthread_dummy(int);
...
@@ -639,7 +639,7 @@ extern int pthread_dummy(int);
*/
*/
#define DEFAULT_THREAD_STACK (192*1024L)
#define DEFAULT_THREAD_STACK (192*1024L)
#else
#else
#define DEFAULT_THREAD_STACK (192*1024
L
)
#define DEFAULT_THREAD_STACK (192*1024)
#endif
#endif
#endif
#endif
...
...
innobase/os/os0file.c
View file @
63abeac7
...
@@ -1763,7 +1763,21 @@ os_file_flush(
...
@@ -1763,7 +1763,21 @@ os_file_flush(
#else
#else
int
ret
;
int
ret
;
#ifdef HAVE_FDATASYNC
#ifdef HAVE_DARWIN_THREADS
/* Apple has disabled fsync() for internal disk drives in OS X. That
caused corruption for a user when he tested a power outage. Let us in
OS X use a nonstandard flush method recommended by an Apple
engineer. */
ret
=
fcntl
(
file
,
F_FULLFSYNC
,
NULL
);
if
(
ret
)
{
/* If we are not on a file system that supports this, then
fall back to a plain fsync. */
ret
=
fsync
(
file
);
}
#elif HAVE_FDATASYNC
ret
=
fdatasync
(
file
);
ret
=
fdatasync
(
file
);
#else
#else
/* fprintf(stderr, "Flushing to file %p\n", file); */
/* fprintf(stderr, "Flushing to file %p\n", file); */
...
...
sql/sql_parse.cc
View file @
63abeac7
...
@@ -2429,7 +2429,6 @@ mysql_execute_command(THD *thd)
...
@@ -2429,7 +2429,6 @@ mysql_execute_command(THD *thd)
create_table_local
);
create_table_local
);
break
;
break
;
create_error:
res
=
1
;
//error reported
res
=
1
;
//error reported
unsent_create_error:
unsent_create_error:
// put tables back for PS rexecuting
// put tables back for PS rexecuting
...
...
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