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
710b7125
Commit
710b7125
authored
Nov 28, 2008
by
Sergey Glukhov
Browse files
Options
Browse Files
Download
Plain Diff
5.0-bugteam->5.1-bugteam merge
sql/slave.cc: compiler warning fix
parents
901298e1
78119b2d
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
8 deletions
+12
-8
mysql-test/r/perror-win.result
mysql-test/r/perror-win.result
+4
-3
mysql-test/t/perror-win.test
mysql-test/t/perror-win.test
+6
-3
sql/item_func.cc
sql/item_func.cc
+1
-1
sql/slave.cc
sql/slave.cc
+1
-1
No files found.
mysql-test/r/perror-win.result
View file @
710b7125
MySQL error code 150: Foreign key constraint is incorrectly formed
Win32 error code 150: System trace information was not specified in your CONFIG.SYS file, or tracing is disallowed.
Win32 error code 150: System trace information was not specified in your CONFIG.SYS file, or tracing is disallowed.
OS error code 23: Too many open files in system
Win32 error code 23: Data error (cyclic redundancy check).
Win32 error code 15000: The specified channel path is invalid.
Win32 error code 23: Data error (cyclic redundancy check).
Win32 error code 500: User profile cannot be loaded.
Illegal error code: 30000
mysql-test/t/perror-win.test
View file @
710b7125
...
...
@@ -6,6 +6,9 @@ eval select LENGTH("$MY_PERROR") > 0 as "have_perror";
enable_query_log
;
--
exec
$MY_PERROR
150
--
exec
$MY_PERROR
23
--
exec
$MY_PERROR
15000
--
exec
$MY_PERROR
150
2
>&
1
--
exec
$MY_PERROR
23
2
>&
1
--
exec
$MY_PERROR
500
2
>&
1
--
error
1
--
exec
$MY_PERROR
30000
2
>&
1
sql/item_func.cc
View file @
710b7125
...
...
@@ -2259,7 +2259,7 @@ void Item_func_min_max::fix_length_and_dec()
uint
Item_func_min_max
::
cmp_datetimes
(
ulonglong
*
value
)
{
u
longlong
min_max
;
longlong
min_max
;
uint
min_max_idx
=
0
;
LINT_INIT
(
min_max
);
...
...
sql/slave.cc
View file @
710b7125
...
...
@@ -288,7 +288,7 @@ static void print_slave_skip_errors(void)
10 characters must be sufficient for a number plus {',' | '...'}
plus a NUL terminator. That is a max 6 digit number.
*/
const
int
MIN_ROOM
=
10
;
const
u
int
MIN_ROOM
=
10
;
DBUG_ENTER
(
"print_slave_skip_errors"
);
DBUG_ASSERT
(
sizeof
(
slave_skip_error_names
)
>
MIN_ROOM
);
DBUG_ASSERT
(
MAX_SLAVE_ERROR
<=
999999
);
// 6 digits
...
...
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