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
95ff7f77
Commit
95ff7f77
authored
Nov 13, 2002
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge sinisa@work.mysql.com:/home/bk/mysql-4.0
into sinisa.nasamreza.org:/mnt/work/mysql-4.0
parents
751b3be1
d0516d75
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
30 deletions
+11
-30
innobase/dict/dict0load.c
innobase/dict/dict0load.c
+1
-1
innobase/row/row0sel.c
innobase/row/row0sel.c
+1
-0
sql/mysqld.cc
sql/mysqld.cc
+9
-1
sql/nt_servc.cc
sql/nt_servc.cc
+0
-28
No files found.
innobase/dict/dict0load.c
View file @
95ff7f77
...
@@ -335,7 +335,7 @@ dict_load_fields(
...
@@ -335,7 +335,7 @@ dict_load_fields(
ut_a
(
btr_pcur_is_on_user_rec
(
&
pcur
,
&
mtr
));
ut_a
(
btr_pcur_is_on_user_rec
(
&
pcur
,
&
mtr
));
if
(
rec_get_deleted_flag
(
rec
))
{
if
(
rec_get_deleted_flag
(
rec
))
{
fprintf
(
stderr
,
fprintf
(
stderr
,
"InnoDB: Error: data dictionary entry for table %s is corrupt!
\n
"
,
"InnoDB: Error: data dictionary entry for table %s is corrupt!
\n
"
"InnoDB: An index field is delete marked.
\n
"
,
"InnoDB: An index field is delete marked.
\n
"
,
table
->
name
);
table
->
name
);
}
}
...
...
innobase/row/row0sel.c
View file @
95ff7f77
...
@@ -2228,6 +2228,7 @@ row_sel_get_clust_rec_for_mysql(
...
@@ -2228,6 +2228,7 @@ row_sel_get_clust_rec_for_mysql(
rec_sprintf
(
err_buf
,
900
,
clust_rec
);
rec_sprintf
(
err_buf
,
900
,
clust_rec
);
fprintf
(
stderr
,
"InnoDB: clust index record %s
\n
"
,
err_buf
);
fprintf
(
stderr
,
"InnoDB: clust index record %s
\n
"
,
err_buf
);
trx
=
thr_get_trx
(
thr
);
trx_print
(
err_buf
,
trx
);
trx_print
(
err_buf
,
trx
);
fprintf
(
stderr
,
fprintf
(
stderr
,
...
...
sql/mysqld.cc
View file @
95ff7f77
...
@@ -4472,9 +4472,17 @@ fn_format_relative_to_data_home(my_string to, const char *name,
...
@@ -4472,9 +4472,17 @@ fn_format_relative_to_data_home(my_string to, const char *name,
static
void
fix_paths
(
void
)
static
void
fix_paths
(
void
)
{
{
char
buff
[
FN_REFLEN
];
char
buff
[
FN_REFLEN
]
,
*
pos
;
convert_dirname
(
mysql_home
,
mysql_home
,
NullS
);
convert_dirname
(
mysql_home
,
mysql_home
,
NullS
);
/* Resolve symlinks to allow 'mysql_home' to be a relative symlink */
my_realpath
(
mysql_home
,
mysql_home
,
MYF
(
0
));
my_realpath
(
mysql_home
,
mysql_home
,
MYF
(
0
));
/* Ensure that mysql_home ends in FN_LIBCHAR */
pos
=
strend
(
mysql_home
);
if
(
pos
[
-
1
]
!=
FN_LIBCHAR
)
{
pos
[
0
]
=
FN_LIBCHAR
;
pos
[
1
]
=
0
;
}
convert_dirname
(
mysql_real_data_home
,
mysql_real_data_home
,
NullS
);
convert_dirname
(
mysql_real_data_home
,
mysql_real_data_home
,
NullS
);
convert_dirname
(
language
,
language
,
NullS
);
convert_dirname
(
language
,
language
,
NullS
);
(
void
)
my_load_path
(
mysql_home
,
mysql_home
,
""
);
// Resolve current dir
(
void
)
my_load_path
(
mysql_home
,
mysql_home
,
""
);
// Resolve current dir
...
...
sql/nt_servc.cc
View file @
95ff7f77
...
@@ -568,31 +568,3 @@ BOOL NTService::is_super_user()
...
@@ -568,31 +568,3 @@ BOOL NTService::is_super_user()
FreeSid
(
psidAdministrators
);
FreeSid
(
psidAdministrators
);
return
ret_value
;
return
ret_value
;
}
}
/* ------------------------------------------------------------------------
-------------------------------------------------------------------------- */
BOOL
NTService
::
IsService
(
LPCSTR
ServiceName
)
{
BOOL
ret_value
=
FALSE
;
SC_HANDLE
service
,
scm
;
if
(
scm
=
OpenSCManager
(
0
,
0
,
SC_MANAGER_ENUMERATE_SERVICE
))
{
if
((
service
=
OpenService
(
scm
,
ServiceName
,
SERVICE_ALL_ACCESS
)))
{
ret_value
=
TRUE
;
CloseServiceHandle
(
service
);
}
CloseServiceHandle
(
scm
);
}
return
ret_value
;
}
/* ------------------------------------------------------------------------
-------------------------------------------------------------------------- */
BOOL
NTService
::
got_service_option
(
char
**
argv
,
char
*
service_option
)
{
char
*
option
;
for
(
option
=
argv
[
1
];
*
option
;
option
++
)
if
(
!
strcmp
(
option
,
service_option
))
return
TRUE
;
return
FALSE
;
}
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