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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
412e5024
Commit
412e5024
authored
Apr 29, 2001
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge work:/home/bk/mysql into donna.mysql.fi:/home/my/bk/mysql
sql/log_event.cc: Auto merged
parents
28b1cf62
448716b0
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
28 additions
and
11 deletions
+28
-11
sql/log_event.cc
sql/log_event.cc
+1
-1
sql/mysqld.cc
sql/mysqld.cc
+26
-8
sql/sql_select.cc
sql/sql_select.cc
+1
-2
No files found.
sql/log_event.cc
View file @
412e5024
...
...
@@ -694,7 +694,7 @@ void Load_log_event::print(FILE* file, bool short_form, char* last_db)
}
if
((
int
)
skip_lines
>
0
)
fprintf
(
file
,
" IGNORE %
d LINES "
,
skip_lines
);
fprintf
(
file
,
" IGNORE %
ld LINES "
,
(
long
)
skip_lines
);
if
(
num_fields
)
{
...
...
sql/mysqld.cc
View file @
412e5024
...
...
@@ -92,6 +92,11 @@ int deny_severity = LOG_WARNING;
typedef
fp_except
fp_except_t
;
#endif
#ifdef _AIX41
extern
"C"
int
initgroups
(
const
char
*
,
int
);
#endif
/* We can't handle floating point expections with threads, so disable
this on freebsd
*/
...
...
@@ -144,7 +149,7 @@ static pthread_cond_t COND_handler_count;
static
uint
handler_count
;
#endif
#ifdef __WIN__
static
bool
opt_console
=
0
;
static
bool
opt_console
=
0
,
start_mode
=
0
;
#endif
#ifdef HAVE_BERKELEY_DB
...
...
@@ -1945,12 +1950,24 @@ The server will not act as a slave.");
sql_print_error
(
"After lock_thread_count"
);
#endif
#else
// remove the event, because it will not be valid anymore
if
(
Service
.
IsNT
())
{
if
(
start_mode
)
{
if
(
WaitForSingleObject
(
hEventShutdown
,
INFINITE
)
==
WAIT_OBJECT_0
)
Service
.
Stop
();
}
else
{
Service
.
SetShutdownEvent
(
0
);
if
(
hEventShutdown
)
CloseHandle
(
hEventShutdown
);
// if it was started as service on NT try to stop the service
if
(
Service
.
IsNT
())
Service
.
Stop
();
}
}
else
{
Service
.
SetShutdownEvent
(
0
);
if
(
hEventShutdown
)
CloseHandle
(
hEventShutdown
);
}
#endif
/* Wait until cleanup is done */
...
...
@@ -2003,6 +2020,7 @@ int main(int argc, char **argv)
else
if
(
argc
==
1
)
// No arguments; start as a service
{
// init service
start_mode
=
1
;
long
tmp
=
Service
.
Init
(
MYSQL_SERVICENAME
,
mysql_service
);
return
0
;
}
...
...
@@ -2477,7 +2495,7 @@ enum options {
OPT_GEMINI_SKIP
,
OPT_INNODB_SKIP
,
OPT_TEMP_POOL
,
OPT_TX_ISOLATION
,
OPT_GEMINI_FLUSH_LOG
,
OPT_GEMINI_RECOVER
,
OPT_GEMINI_UNBUFFERED_IO
,
OPT_SKIP_SAFEMALLOC
,
OPT_GEMINI_UNBUFFERED_IO
,
OPT_SKIP_SAFEMALLOC
};
static
struct
option
long_options
[]
=
{
...
...
sql/sql_select.cc
View file @
412e5024
...
...
@@ -210,7 +210,7 @@ mysql_select(THD *thd,TABLE_LIST *tables,List<Item> &fields,COND *conds,
{
if
(
item
->
with_sum_func
)
flag
|=
1
;
else
if
(
!
item
->
const_item
())
else
if
(
!
(
flag
&
2
)
&&
!
item
->
const_item
())
flag
|=
2
;
}
if
(
flag
==
3
)
...
...
@@ -871,7 +871,6 @@ make_join_statistics(JOIN *join,TABLE_LIST *tables,COND *conds,
s
->
join
=
join
;
if
((
s
->
on_expr
=
tables
->
on_expr
))
{
// table->maybe_null=table->outer_join=1; // Mark for send fields
if
(
!
table
->
file
->
records
)
{
// Empty table
s
->
key_dependent
=
s
->
dependent
=
0
;
...
...
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