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
c75a4d24
Commit
c75a4d24
authored
Feb 26, 2003
by
monty@narttu.mysql.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Safety fix (caused a core dump on slave during shutdown when shutting down replication on some OS)
parent
fe0aa9ff
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
1 deletion
+7
-1
mysql-test/r/bigint.result
mysql-test/r/bigint.result
+3
-0
mysql-test/t/bigint.test
mysql-test/t/bigint.test
+1
-0
mysys/thr_alarm.c
mysys/thr_alarm.c
+2
-0
netware/mysql_test_run.c
netware/mysql_test_run.c
+1
-1
No files found.
mysql-test/r/bigint.result
View file @
c75a4d24
...
...
@@ -7,6 +7,9 @@ select 9223372036854775807,-009223372036854775808;
select +9999999999999999999,-9999999999999999999;
+9999999999999999999 -9999999999999999999
10000000000000000000 -10000000000000000000
select cast(9223372036854775808 as unsigned)+1;
cast(9223372036854775808 as unsigned)+1
9223372036854775809
select 9223372036854775808+1;
9223372036854775808+1
9223372036854775808
...
...
mysql-test/t/bigint.test
View file @
c75a4d24
...
...
@@ -4,6 +4,7 @@
select
0
,
256
,
00000000000000065536
,
2147483647
,
-
2147483648
,
2147483648
,
+
4294967296
;
select
9223372036854775807
,
-
00
9223372036854775808
;
select
+
9999999999999999999
,
-
9999999999999999999
;
select
cast
(
9223372036854775808
as
unsigned
)
+
1
;
#
# We need to do a REPLACE here as the atof() function returns different
...
...
mysys/thr_alarm.c
View file @
c75a4d24
...
...
@@ -402,6 +402,8 @@ void end_thr_alarm(void)
void
thr_alarm_kill
(
pthread_t
thread_id
)
{
uint
i
;
if
(
alarm_aborted
)
return
;
pthread_mutex_lock
(
&
LOCK_alarm
);
for
(
i
=
0
;
i
<
alarm_queue
.
elements
;
i
++
)
{
...
...
netware/mysql_test_run.c
View file @
c75a4d24
...
...
@@ -760,7 +760,7 @@ void run_test(char *test)
// create files
snprintf
(
master_opt_file
,
PATH_MAX
,
"%s/%s-master.opt"
,
test_dir
,
test
);
snprintf
(
slave_opt_file
,
PATH_MAX
,
"%s/%s-slave.opt"
,
test_dir
,
test
);
snprintf
(
slave_master_info_file
,
PATH_MAX
,
"%s/%s
-slave-master-info.opt
"
,
test_dir
,
test
);
snprintf
(
slave_master_info_file
,
PATH_MAX
,
"%s/%s
.slave-mi
"
,
test_dir
,
test
);
snprintf
(
reject_file
,
PATH_MAX
,
"%s/%s%s"
,
result_dir
,
test
,
REJECT_SUFFIX
);
snprintf
(
out_file
,
PATH_MAX
,
"%s/%s%s"
,
result_dir
,
test
,
OUT_SUFFIX
);
snprintf
(
err_file
,
PATH_MAX
,
"%s/%s%s"
,
result_dir
,
test
,
ERR_SUFFIX
);
...
...
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