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
4f9b59f7
Commit
4f9b59f7
authored
Apr 06, 2004
by
marko@hundin.mysql.fi
Browse files
Options
Browse Files
Download
Plain Diff
Merge marko@build.mysql.com:/home/bk/mysql-4.0
into hundin.mysql.fi:/home/marko/j/mysql-4.0
parents
f3302f2e
d9d1957e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
0 deletions
+11
-0
innobase/fil/fil0fil.c
innobase/fil/fil0fil.c
+5
-0
innobase/include/fil0fil.h
innobase/include/fil0fil.h
+5
-0
sql/ha_innodb.cc
sql/ha_innodb.cc
+1
-0
No files found.
innobase/fil/fil0fil.c
View file @
4f9b59f7
...
@@ -77,6 +77,11 @@ out of the LRU-list and keep a count of pending operations. When an operation
...
@@ -77,6 +77,11 @@ out of the LRU-list and keep a count of pending operations. When an operation
completes, we decrement the count and return the file node to the LRU-list if
completes, we decrement the count and return the file node to the LRU-list if
the count drops to zero. */
the count drops to zero. */
/* When mysqld is run, the default directory "." is the mysqld datadir,
but in the MySQL Embedded Server Library and ibbackup it is not the default
directory, and we must set the base file path explicitly */
const
char
*
fil_path_to_mysql_datadir
=
"."
;
ulint
fil_n_pending_log_flushes
=
0
;
ulint
fil_n_pending_log_flushes
=
0
;
ulint
fil_n_pending_tablespace_flushes
=
0
;
ulint
fil_n_pending_tablespace_flushes
=
0
;
...
...
innobase/include/fil0fil.h
View file @
4f9b59f7
...
@@ -16,6 +16,11 @@ Created 10/25/1995 Heikki Tuuri
...
@@ -16,6 +16,11 @@ Created 10/25/1995 Heikki Tuuri
#include "ut0byte.h"
#include "ut0byte.h"
#include "os0file.h"
#include "os0file.h"
/* When mysqld is run, the default directory "." is the mysqld datadir, but in
ibbackup we must set it explicitly; the path must NOT contain the trailing
'/' or '\' */
extern
const
char
*
fil_path_to_mysql_datadir
;
/* 'null' (undefined) page offset in the context of file spaces */
/* 'null' (undefined) page offset in the context of file spaces */
#define FIL_NULL ULINT32_UNDEFINED
#define FIL_NULL ULINT32_UNDEFINED
...
...
sql/ha_innodb.cc
View file @
4f9b59f7
...
@@ -714,6 +714,7 @@ innobase_init(void)
...
@@ -714,6 +714,7 @@ innobase_init(void)
if
(
mysql_embedded
)
{
if
(
mysql_embedded
)
{
default_path
=
mysql_real_data_home
;
default_path
=
mysql_real_data_home
;
fil_path_to_mysql_datadir
=
mysql_real_data_home
;
}
else
{
}
else
{
/* It's better to use current lib, to keep paths short */
/* It's better to use current lib, to keep paths short */
current_dir
[
0
]
=
FN_CURLIB
;
current_dir
[
0
]
=
FN_CURLIB
;
...
...
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