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
0bbd660c
Commit
0bbd660c
authored
Jul 12, 2001
by
serg@serg.mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
merged
parents
c0b4b236
42712018
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
393 additions
and
261 deletions
+393
-261
BitKeeper/etc/logging_ok
BitKeeper/etc/logging_ok
+1
-0
Docs/manual.texi
Docs/manual.texi
+382
-258
myisam/ft_update.c
myisam/ft_update.c
+4
-0
sql/log.cc
sql/log.cc
+4
-1
sql/mysqld.cc
sql/mysqld.cc
+1
-1
sql/sql_class.h
sql/sql_class.h
+1
-1
No files found.
BitKeeper/etc/logging_ok
View file @
0bbd660c
Sinisa@sinisa.nasamreza.org
Sinisa@sinisa.nasamreza.org
davida@isil.mysql.com
heikki@donna.mysql.fi
heikki@donna.mysql.fi
jani@hynda.mysql.fi
jani@hynda.mysql.fi
jani@janikt.pp.saunalahti.fi
jani@janikt.pp.saunalahti.fi
...
...
Docs/manual.texi
View file @
0bbd660c
This diff is collapsed.
Click to expand it.
myisam/ft_update.c
View file @
0bbd660c
...
@@ -147,6 +147,10 @@ int _mi_ft_cmp(MI_INFO *info, uint keynr, const byte *rec1, const byte *rec2)
...
@@ -147,6 +147,10 @@ int _mi_ft_cmp(MI_INFO *info, uint keynr, const byte *rec1, const byte *rec2)
memcpy_fixed
(
&
pos2
,
pos2
+
keyseg
->
bit_start
,
sizeof
(
char
*
));
memcpy_fixed
(
&
pos2
,
pos2
+
keyseg
->
bit_start
,
sizeof
(
char
*
));
set_if_smaller
(
len2
,
keyseg
->
length
);
set_if_smaller
(
len2
,
keyseg
->
length
);
}
}
else
/* fixed length key */
{
len1
=
len2
=
keyseg
->
length
;
}
if
((
len1
!=
len2
)
||
memcmp
(
pos1
,
pos2
,
len1
))
if
((
len1
!=
len2
)
||
memcmp
(
pos1
,
pos2
,
len1
))
return
THOSE_TWO_DAMN_KEYS_ARE_REALLY_DIFFERENT
;
return
THOSE_TWO_DAMN_KEYS_ARE_REALLY_DIFFERENT
;
}
}
...
...
sql/log.cc
View file @
0bbd660c
...
@@ -732,7 +732,7 @@ bool MYSQL_LOG::write(Query_log_event* event_info)
...
@@ -732,7 +732,7 @@ bool MYSQL_LOG::write(Query_log_event* event_info)
if
(
file
==
&
log_file
)
if
(
file
==
&
log_file
)
VOID
(
pthread_cond_broadcast
(
&
COND_binlog_update
));
VOID
(
pthread_cond_broadcast
(
&
COND_binlog_update
));
}
}
if
(
should_rotate
)
if
(
should_rotate
)
new_file
(
1
);
// inside mutex
new_file
(
1
);
// inside mutex
VOID
(
pthread_mutex_unlock
(
&
LOCK_log
));
VOID
(
pthread_mutex_unlock
(
&
LOCK_log
));
return
error
;
return
error
;
...
@@ -820,10 +820,13 @@ bool MYSQL_LOG::write(Load_log_event* event_info)
...
@@ -820,10 +820,13 @@ bool MYSQL_LOG::write(Load_log_event* event_info)
VOID
(
pthread_cond_broadcast
(
&
COND_binlog_update
));
VOID
(
pthread_cond_broadcast
(
&
COND_binlog_update
));
}
}
}
}
if
(
should_rotate
)
if
(
should_rotate
)
new_file
(
1
);
// inside mutex
new_file
(
1
);
// inside mutex
VOID
(
pthread_mutex_unlock
(
&
LOCK_log
));
VOID
(
pthread_mutex_unlock
(
&
LOCK_log
));
}
}
return
error
;
return
error
;
}
}
...
...
sql/mysqld.cc
View file @
0bbd660c
...
@@ -1504,7 +1504,7 @@ static void open_log(MYSQL_LOG *log, const char *hostname,
...
@@ -1504,7 +1504,7 @@ static void open_log(MYSQL_LOG *log, const char *hostname,
char
*
p
=
strrchr
(
opt_name
,
FN_EXTCHAR
);
char
*
p
=
strrchr
(
opt_name
,
FN_EXTCHAR
);
if
(
p
)
if
(
p
)
*
p
=
0
;
*
p
=
0
;
}
}
log
->
open
(
opt_name
,
type
);
log
->
open
(
opt_name
,
type
);
}
}
...
...
sql/sql_class.h
View file @
0bbd660c
...
@@ -80,7 +80,7 @@ class MYSQL_LOG {
...
@@ -80,7 +80,7 @@ class MYSQL_LOG {
void
init
(
enum_log_type
log_type_arg
);
void
init
(
enum_log_type
log_type_arg
);
void
open
(
const
char
*
log_name
,
enum_log_type
log_type
,
void
open
(
const
char
*
log_name
,
enum_log_type
log_type
,
const
char
*
new_name
=
0
);
const
char
*
new_name
=
0
);
void
new_file
(
bool
inside_mutex
=
0
);
void
new_file
(
bool
inside_mutex
=
0
);
bool
open_index
(
int
options
);
bool
open_index
(
int
options
);
void
close_index
();
void
close_index
();
bool
write
(
THD
*
thd
,
enum
enum_server_command
command
,
const
char
*
format
,...);
bool
write
(
THD
*
thd
,
enum
enum_server_command
command
,
const
char
*
format
,...);
...
...
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