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
4c67678f
Commit
4c67678f
authored
Mar 22, 2005
by
jimw@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Windows compile warnings, declarations of walk functions
parent
7b985df2
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
5 deletions
+9
-5
sql/handler.cc
sql/handler.cc
+2
-2
sql/item_func.cc
sql/item_func.cc
+0
-1
sql/item_sum.cc
sql/item_sum.cc
+5
-1
sql/item_sum.h
sql/item_sum.h
+2
-1
No files found.
sql/handler.cc
View file @
4c67678f
...
...
@@ -836,9 +836,9 @@ int ha_recover(HASH *commit_list)
/* commit_list and tc_heuristic_recover cannot be set both */
DBUG_ASSERT
(
commit_list
==
0
||
tc_heuristic_recover
==
0
);
/* if either is set, total_ha_2pc must be set too */
DBUG_ASSERT
(
dry_run
||
total_ha_2pc
>
opt_bin_log
);
DBUG_ASSERT
(
dry_run
||
total_ha_2pc
>
(
ulong
)
opt_bin_log
);
if
(
total_ha_2pc
<=
opt_bin_log
)
if
(
total_ha_2pc
<=
(
ulong
)
opt_bin_log
)
DBUG_RETURN
(
0
);
if
(
commit_list
)
...
...
sql/item_func.cc
View file @
4c67678f
...
...
@@ -4683,7 +4683,6 @@ Field *
Item_func_sp
::
tmp_table_field
(
TABLE
*
t_arg
)
{
Field
*
res
=
0
;
enum_field_types
ftype
;
DBUG_ENTER
(
"Item_func_sp::tmp_table_field"
);
if
(
m_sp
)
...
...
sql/item_sum.cc
View file @
4c67678f
...
...
@@ -2158,12 +2158,16 @@ int composite_key_cmp(void* arg, byte* key1, byte* key2)
}
C_MODE_START
static
int
count_distinct_walk
(
void
*
elem
,
element_count
count
,
void
*
arg
)
{
(
*
((
ulonglong
*
)
arg
))
++
;
return
0
;
}
C_MODE_END
void
Item_sum_count_distinct
::
cleanup
()
{
...
...
@@ -2658,7 +2662,7 @@ int group_concat_key_cmp_with_distinct_and_order(void* arg,byte* key1,
Append data from current leaf to item->result
*/
int
dump_leaf_key
(
byte
*
key
,
uint32
count
__attribute__
((
unused
)),
int
dump_leaf_key
(
byte
*
key
,
element_count
count
__attribute__
((
unused
)),
Item_func_group_concat
*
item
)
{
char
buff
[
MAX_FIELD_WIDTH
];
...
...
sql/item_sum.h
View file @
4c67678f
...
...
@@ -851,7 +851,8 @@ class Item_func_group_concat : public Item_sum
friend
int
group_concat_key_cmp_with_distinct_and_order
(
void
*
arg
,
byte
*
key1
,
byte
*
key2
);
friend
int
dump_leaf_key
(
byte
*
key
,
uint32
count
__attribute__
((
unused
)),
friend
int
dump_leaf_key
(
byte
*
key
,
element_count
count
__attribute__
((
unused
)),
Item_func_group_concat
*
group_concat_item
);
public:
...
...
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