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
908ff4b1
Commit
908ff4b1
authored
Nov 30, 2006
by
monty@mysql.com/narttu.mysql.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
After merge fixes
Marked some functions as noreturn
parent
430d215c
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
6 additions
and
6 deletions
+6
-6
sql/mysql_priv.h
sql/mysql_priv.h
+2
-2
storage/federated/ha_federated.cc
storage/federated/ha_federated.cc
+2
-2
storage/myisam/ft_boolean_search.c
storage/myisam/ft_boolean_search.c
+0
-1
storage/myisam/myisamchk.c
storage/myisam/myisamchk.c
+1
-0
storage/myisam/myisampack.c
storage/myisam/myisampack.c
+1
-0
storage/myisam/sort.c
storage/myisam/sort.c
+0
-1
No files found.
sql/mysql_priv.h
View file @
908ff4b1
...
...
@@ -1722,7 +1722,7 @@ void unlock_table_names(THD *thd, TABLE_LIST *table_list,
/* old unireg functions */
void
unireg_init
(
ulong
options
);
void
unireg_end
(
void
);
void
unireg_end
(
void
)
__attribute__
((
noreturn
))
;
bool
mysql_create_frm
(
THD
*
thd
,
const
char
*
file_name
,
const
char
*
db
,
const
char
*
table
,
HA_CREATE_INFO
*
create_info
,
...
...
@@ -2007,7 +2007,7 @@ inline bool is_user_table(TABLE * table)
*/
#ifndef EMBEDDED_LIBRARY
extern
"C"
void
unireg_abort
(
int
exit_code
);
extern
"C"
void
unireg_abort
(
int
exit_code
)
__attribute__
((
noreturn
))
;
void
kill_delayed_threads
(
void
);
bool
check_stack_overrun
(
THD
*
thd
,
long
margin
,
char
*
dummy
);
#else
...
...
storage/federated/ha_federated.cc
View file @
908ff4b1
...
...
@@ -2020,8 +2020,8 @@ int ha_federated::delete_row(const byte *buf)
{
DBUG_RETURN
(
stash_remote_error
());
}
deleted
+=
(
ha_rows
)
mysql
->
affected_rows
;
records
-=
(
ha_rows
)
mysql
->
affected_rows
;
stats
.
deleted
+=
(
ha_rows
)
mysql
->
affected_rows
;
stats
.
records
-=
(
ha_rows
)
mysql
->
affected_rows
;
DBUG_PRINT
(
"info"
,
(
"rows deleted %ld rows deleted for all time %ld"
,
(
long
)
mysql
->
affected_rows
,
(
long
)
stats
.
deleted
));
...
...
storage/myisam/ft_boolean_search.c
View file @
908ff4b1
...
...
@@ -333,7 +333,6 @@ static int _ft2_search(FTB *ftb, FTB_WORD *ftbw, my_bool init_search)
MI_INFO
*
info
=
ftb
->
info
;
uint
off
,
extra
=
HA_FT_WLEN
+
info
->
s
->
base
.
rec_reflength
;
byte
*
lastkey_buf
=
ftbw
->
word
+
ftbw
->
off
;
LINT_INIT
(
off
);
LINT_INIT
(
off
);
if
(
ftbw
->
flags
&
FTB_FLAG_TRUNC
)
...
...
storage/myisam/myisamchk.c
View file @
908ff4b1
...
...
@@ -697,6 +697,7 @@ get_one_option(int optid,
{
int
method
;
enum_mi_stats_method
method_conv
;
LINT_INIT
(
method_conv
);
myisam_stats_method_str
=
argument
;
if
((
method
=
find_type
(
argument
,
&
myisam_stats_method_typelib
,
2
))
<=
0
)
{
...
...
storage/myisam/myisampack.c
View file @
908ff4b1
...
...
@@ -2279,6 +2279,7 @@ static my_off_t write_huff_tree(HUFF_TREE *huff_tree, uint trees)
if
(
bits
>
8
*
sizeof
(
code
))
{
VOID
(
fflush
(
stdout
));
VOID
(
fprintf
(
stderr
,
"error: Huffman code too long: %u/%u
\n
"
,
bits
,
(
uint
)
(
8
*
sizeof
(
code
))));
errors
++
;
break
;
...
...
storage/myisam/sort.c
View file @
908ff4b1
...
...
@@ -899,7 +899,6 @@ merge_buffers(MI_SORT_PARAM *info, uint keys, IO_CACHE *from_file,
BUFFPEK
*
buffpek
,
**
refpek
;
QUEUE
queue
;
volatile
int
*
killed
=
killed_ptr
(
info
->
sort_info
->
param
);
DBUG_ENTER
(
"merge_buffers"
);
count
=
error
=
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