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
d4118813
Commit
d4118813
authored
Aug 23, 2006
by
brian@zim.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
This is a cleanup of warnings that windows is complaining about.
parent
212ab976
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
6 additions
and
10 deletions
+6
-10
client/mysql.cc
client/mysql.cc
+0
-1
server-tools/instance-manager/parse.cc
server-tools/instance-manager/parse.cc
+1
-1
sql/field.cc
sql/field.cc
+2
-3
sql/filesort.cc
sql/filesort.cc
+0
-1
sql/ha_innodb.cc
sql/ha_innodb.cc
+0
-1
sql/ha_partition.cc
sql/ha_partition.cc
+1
-1
sql/partition_element.h
sql/partition_element.h
+2
-2
No files found.
client/mysql.cc
View file @
d4118813
...
@@ -2353,7 +2353,6 @@ print_table_data(MYSQL_RES *result)
...
@@ -2353,7 +2353,6 @@ print_table_data(MYSQL_RES *result)
const
char
*
buffer
;
const
char
*
buffer
;
uint
data_length
;
uint
data_length
;
uint
field_max_length
;
uint
field_max_length
;
bool
right_justified
;
uint
visible_length
;
uint
visible_length
;
uint
extra_padding
;
uint
extra_padding
;
...
...
server-tools/instance-manager/parse.cc
View file @
d4118813
...
@@ -152,7 +152,7 @@ static bool parse_long(const LEX_STRING *token, long *value)
...
@@ -152,7 +152,7 @@ static bool parse_long(const LEX_STRING *token, long *value)
int
err_code
;
int
err_code
;
char
*
end_ptr
=
token
->
str
+
token
->
length
;
char
*
end_ptr
=
token
->
str
+
token
->
length
;
*
value
=
my_strtoll10
(
token
->
str
,
&
end_ptr
,
&
err_code
);
*
value
=
(
long
)
my_strtoll10
(
token
->
str
,
&
end_ptr
,
&
err_code
);
return
err_code
!=
0
;
return
err_code
!=
0
;
}
}
...
...
sql/field.cc
View file @
d4118813
...
@@ -9145,10 +9145,9 @@ create_field::create_field(Field *old_field,Field *orig_field)
...
@@ -9145,10 +9145,9 @@ create_field::create_field(Field *old_field,Field *orig_field)
old_field
->
table
->
timestamp_field
!=
old_field
||
/* timestamp field */
old_field
->
table
->
timestamp_field
!=
old_field
||
/* timestamp field */
unireg_check
==
Field
::
TIMESTAMP_UN_FIELD
))
/* has default val */
unireg_check
==
Field
::
TIMESTAMP_UN_FIELD
))
/* has default val */
{
{
char
buff
[
MAX_FIELD_WIDTH
]
,
*
pos
;
char
buff
[
MAX_FIELD_WIDTH
];
String
tmp
(
buff
,
sizeof
(
buff
),
charset
)
,
*
res
;
String
tmp
(
buff
,
sizeof
(
buff
),
charset
);
my_ptrdiff_t
diff
;
my_ptrdiff_t
diff
;
bool
is_null
;
/* Get the value from default_values */
/* Get the value from default_values */
diff
=
(
my_ptrdiff_t
)
(
orig_field
->
table
->
s
->
default_values
-
diff
=
(
my_ptrdiff_t
)
(
orig_field
->
table
->
s
->
default_values
-
...
...
sql/filesort.cc
View file @
d4118813
...
@@ -886,7 +886,6 @@ static void make_sortkey(register SORTPARAM *param,
...
@@ -886,7 +886,6 @@ static void make_sortkey(register SORTPARAM *param,
static
void
register_used_fields
(
SORTPARAM
*
param
)
static
void
register_used_fields
(
SORTPARAM
*
param
)
{
{
reg1
SORT_FIELD
*
sort_field
;
reg1
SORT_FIELD
*
sort_field
;
reg5
uint
length
;
TABLE
*
table
=
param
->
sort_form
;
TABLE
*
table
=
param
->
sort_form
;
MY_BITMAP
*
bitmap
=
table
->
read_set
;
MY_BITMAP
*
bitmap
=
table
->
read_set
;
...
...
sql/ha_innodb.cc
View file @
d4118813
...
@@ -2915,7 +2915,6 @@ ha_innobase::store_key_val_for_row(
...
@@ -2915,7 +2915,6 @@ ha_innobase::store_key_val_for_row(
CHARSET_INFO
*
cs
;
CHARSET_INFO
*
cs
;
ulint
key_len
;
ulint
key_len
;
ulint
len
;
ulint
true_len
;
ulint
true_len
;
int
error
=
0
;
int
error
=
0
;
ulint
blob_len
;
ulint
blob_len
;
...
...
sql/ha_partition.cc
View file @
d4118813
...
@@ -361,7 +361,7 @@ bool ha_partition::initialise_partition(MEM_ROOT *mem_root)
...
@@ -361,7 +361,7 @@ bool ha_partition::initialise_partition(MEM_ROOT *mem_root)
HA_CAN_GEOMETRY, HA_CAN_FULLTEXT, HA_CAN_SQL_HANDLER, HA_DUPLICATE_POS,
HA_CAN_GEOMETRY, HA_CAN_FULLTEXT, HA_CAN_SQL_HANDLER, HA_DUPLICATE_POS,
HA_CAN_INSERT_DELAYED is disabled until further investigated.
HA_CAN_INSERT_DELAYED is disabled until further investigated.
*/
*/
m_table_flags
=
m_file
[
0
]
->
table_flags
();
m_table_flags
=
(
ulong
)
m_file
[
0
]
->
table_flags
();
m_low_byte_first
=
m_file
[
0
]
->
low_byte_first
();
m_low_byte_first
=
m_file
[
0
]
->
low_byte_first
();
m_pkey_is_clustered
=
TRUE
;
m_pkey_is_clustered
=
TRUE
;
file_array
=
m_file
;
file_array
=
m_file
;
...
...
sql/partition_element.h
View file @
d4118813
...
@@ -56,8 +56,8 @@ class partition_element :public Sql_alloc {
...
@@ -56,8 +56,8 @@ class partition_element :public Sql_alloc {
public:
public:
List
<
partition_element
>
subpartitions
;
List
<
partition_element
>
subpartitions
;
List
<
part_elem_value
>
list_val_list
;
List
<
part_elem_value
>
list_val_list
;
ulonglong
part_max_rows
;
ha_rows
part_max_rows
;
ulonglong
part_min_rows
;
ha_rows
part_min_rows
;
longlong
range_value
;
longlong
range_value
;
char
*
partition_name
;
char
*
partition_name
;
char
*
tablespace_name
;
char
*
tablespace_name
;
...
...
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