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
f0aeadcd
Commit
f0aeadcd
authored
Aug 27, 2005
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge mysql.com:/Users/kent/mysql/bk/mysql-5.0-release
into mysql.com:/Users/kent/mysql/bk/mysql-5.0
parents
73feede9
c7e56146
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
15 deletions
+7
-15
mysql-test/lib/mtr_timer.pl
mysql-test/lib/mtr_timer.pl
+2
-14
sql/unireg.h
sql/unireg.h
+5
-1
No files found.
mysql-test/lib/mtr_timer.pl
View file @
f0aeadcd
...
@@ -119,21 +119,9 @@ sub mtr_timer_stop_all ($) {
...
@@ -119,21 +119,9 @@ sub mtr_timer_stop_all ($) {
foreach
my
$name
(
keys
%
{
$timers
->
{'
timers
'}}
)
foreach
my
$name
(
keys
%
{
$timers
->
{'
timers
'}}
)
{
{
my
$tpid
=
$timers
->
{'
timers
'}
->
{
$name
}
->
{'
pid
'};
mtr_timer_stop
(
$timers
,
$name
);
# FIXME as Cygwin reuses pids fast, maybe check that is
# the expected process somehow?!
kill
(
9
,
$tpid
);
# As the timers are so simple programs, we trust them to terminate,
# and use blocking wait for it. We wait just to avoid a zombie.
waitpid
(
$tpid
,
0
);
delete
$timers
->
{'
timers
'}
->
{
$name
};
# Remove the timer information
delete
$timers
->
{'
pids
'}
->
{
$tpid
};
# and PID reference
return
1
;
}
}
return
1
;
}
}
...
...
sql/unireg.h
View file @
f0aeadcd
...
@@ -50,7 +50,11 @@
...
@@ -50,7 +50,11 @@
#define MAX_SYS_VAR_LENGTH 32
#define MAX_SYS_VAR_LENGTH 32
#define MAX_KEY 64
/* Max used keys */
#define MAX_KEY 64
/* Max used keys */
#define MAX_REF_PARTS 16
/* Max parts used as ref */
#define MAX_REF_PARTS 16
/* Max parts used as ref */
#define MAX_KEY_LENGTH 1024
/* max possible key */
#if SIZEOF_CHARP > 4
#define MAX_KEY_LENGTH 3072
/* max possible key, if 64 bits */
#else
#define MAX_KEY_LENGTH 1024
/* max possible key, if 32 bits */
#endif
#if SIZEOF_OFF_T > 4
#if SIZEOF_OFF_T > 4
#define MAX_REFLENGTH 8
/* Max length for record ref */
#define MAX_REFLENGTH 8
/* Max length for record ref */
#else
#else
...
...
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