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
0c9d39ed
Commit
0c9d39ed
authored
Mar 20, 2016
by
Monty
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed compiler failures and warnings
parent
2f7b6c57
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
21 deletions
+12
-21
libmysqld/lib_sql.cc
libmysqld/lib_sql.cc
+2
-1
sql/bounded_queue.h
sql/bounded_queue.h
+1
-1
storage/innobase/handler/ha_innodb.cc
storage/innobase/handler/ha_innodb.cc
+0
-10
storage/xtradb/handler/ha_innodb.cc
storage/xtradb/handler/ha_innodb.cc
+9
-9
No files found.
libmysqld/lib_sql.cc
View file @
0c9d39ed
...
@@ -165,7 +165,8 @@ emb_advanced_command(MYSQL *mysql, enum enum_server_command command,
...
@@ -165,7 +165,8 @@ emb_advanced_command(MYSQL *mysql, enum enum_server_command command,
arg_length
=
header_length
;
arg_length
=
header_length
;
}
}
result
=
dispatch_command
(
command
,
thd
,
(
char
*
)
arg
,
arg_length
,
FALSE
);
result
=
dispatch_command
(
command
,
thd
,
(
char
*
)
arg
,
arg_length
,
FALSE
,
FALSE
);
thd
->
cur_data
=
0
;
thd
->
cur_data
=
0
;
thd
->
mysys_var
=
NULL
;
thd
->
mysys_var
=
NULL
;
...
...
sql/bounded_queue.h
View file @
0c9d39ed
...
@@ -16,11 +16,11 @@
...
@@ -16,11 +16,11 @@
#ifndef BOUNDED_QUEUE_INCLUDED
#ifndef BOUNDED_QUEUE_INCLUDED
#define BOUNDED_QUEUE_INCLUDED
#define BOUNDED_QUEUE_INCLUDED
#include <string.h>
#include "my_global.h"
#include "my_global.h"
#include "my_base.h"
#include "my_base.h"
#include "my_sys.h"
#include "my_sys.h"
#include "queues.h"
#include "queues.h"
#include <string.h>
class
Sort_param
;
class
Sort_param
;
...
...
storage/innobase/handler/ha_innodb.cc
View file @
0c9d39ed
...
@@ -786,16 +786,6 @@ innobase_map_isolation_level(
...
@@ -786,16 +786,6 @@ innobase_map_isolation_level(
/*=========================*/
/*=========================*/
enum_tx_isolation
iso
);
/*!< in: MySQL isolation level code */
enum_tx_isolation
iso
);
/*!< in: MySQL isolation level code */
/******************************************************************//**
Maps a MySQL trx isolation level code to the InnoDB isolation level code
@return InnoDB isolation level */
static
inline
ulint
innobase_map_isolation_level
(
/*=========================*/
enum_tx_isolation
iso
);
/*!< in: MySQL isolation level code
*/
/*************************************************************//**
/*************************************************************//**
Check for a valid value of innobase_compression_algorithm.
Check for a valid value of innobase_compression_algorithm.
@return 0 for valid innodb_compression_algorithm. */
@return 0 for valid innodb_compression_algorithm. */
...
...
storage/xtradb/handler/ha_innodb.cc
View file @
0c9d39ed
...
@@ -8318,7 +8318,7 @@ ha_innobase::write_row(
...
@@ -8318,7 +8318,7 @@ ha_innobase::write_row(
if
(
share
->
ib_table
!=
prebuilt
->
table
)
{
if
(
share
->
ib_table
!=
prebuilt
->
table
)
{
fprintf
(
stderr
,
fprintf
(
stderr
,
"InnoDB: Warning: share->ib_table %p prebuilt->table %p table %s is_corrupt %d."
,
"InnoDB: Warning: share->ib_table %p prebuilt->table %p table %s is_corrupt %d."
,
share
->
ib_table
,
prebuilt
->
table
,
prebuilt
->
table
->
name
,
prebuilt
->
table
->
is_corrupt
);
share
->
ib_table
,
prebuilt
->
table
,
prebuilt
->
table
->
name
,
(
int
)
prebuilt
->
table
->
is_corrupt
);
}
}
if
(
UNIV_UNLIKELY
(
share
->
ib_table
&&
share
->
ib_table
->
is_corrupt
))
{
if
(
UNIV_UNLIKELY
(
share
->
ib_table
&&
share
->
ib_table
->
is_corrupt
))
{
...
@@ -8671,7 +8671,7 @@ ha_innobase::write_row(
...
@@ -8671,7 +8671,7 @@ ha_innobase::write_row(
if
(
share
->
ib_table
!=
prebuilt
->
table
)
{
if
(
share
->
ib_table
!=
prebuilt
->
table
)
{
fprintf
(
stderr
,
fprintf
(
stderr
,
"InnoDB: Warning: share->ib_table %p prebuilt->table %p table %s is_corrupt %d."
,
"InnoDB: Warning: share->ib_table %p prebuilt->table %p table %s is_corrupt %d."
,
share
->
ib_table
,
prebuilt
->
table
,
prebuilt
->
table
->
name
,
prebuilt
->
table
->
is_corrupt
);
share
->
ib_table
,
prebuilt
->
table
,
prebuilt
->
table
->
name
,
(
int
)
prebuilt
->
table
->
is_corrupt
);
}
}
if
(
UNIV_UNLIKELY
(
share
->
ib_table
&&
share
->
ib_table
->
is_corrupt
))
{
if
(
UNIV_UNLIKELY
(
share
->
ib_table
&&
share
->
ib_table
->
is_corrupt
))
{
...
@@ -9091,7 +9091,7 @@ ha_innobase::update_row(
...
@@ -9091,7 +9091,7 @@ ha_innobase::update_row(
if
(
share
->
ib_table
!=
prebuilt
->
table
)
{
if
(
share
->
ib_table
!=
prebuilt
->
table
)
{
fprintf
(
stderr
,
fprintf
(
stderr
,
"InnoDB: Warning: share->ib_table %p prebuilt->table %p table %s is_corrupt %d."
,
"InnoDB: Warning: share->ib_table %p prebuilt->table %p table %s is_corrupt %d."
,
share
->
ib_table
,
prebuilt
->
table
,
prebuilt
->
table
->
name
,
prebuilt
->
table
->
is_corrupt
);
share
->
ib_table
,
prebuilt
->
table
,
prebuilt
->
table
->
name
,
(
int
)
prebuilt
->
table
->
is_corrupt
);
}
}
if
(
UNIV_UNLIKELY
(
share
->
ib_table
&&
share
->
ib_table
->
is_corrupt
))
{
if
(
UNIV_UNLIKELY
(
share
->
ib_table
&&
share
->
ib_table
->
is_corrupt
))
{
...
@@ -9212,7 +9212,7 @@ ha_innobase::update_row(
...
@@ -9212,7 +9212,7 @@ ha_innobase::update_row(
if
(
share
->
ib_table
!=
prebuilt
->
table
)
{
if
(
share
->
ib_table
!=
prebuilt
->
table
)
{
fprintf
(
stderr
,
fprintf
(
stderr
,
"InnoDB: Warning: share->ib_table %p prebuilt->table %p table %s is_corrupt %d."
,
"InnoDB: Warning: share->ib_table %p prebuilt->table %p table %s is_corrupt %d."
,
share
->
ib_table
,
prebuilt
->
table
,
prebuilt
->
table
->
name
,
prebuilt
->
table
->
is_corrupt
);
share
->
ib_table
,
prebuilt
->
table
,
prebuilt
->
table
->
name
,
(
int
)
prebuilt
->
table
->
is_corrupt
);
}
}
if
(
UNIV_UNLIKELY
(
share
->
ib_table
&&
share
->
ib_table
->
is_corrupt
))
{
if
(
UNIV_UNLIKELY
(
share
->
ib_table
&&
share
->
ib_table
->
is_corrupt
))
{
...
@@ -12740,7 +12740,7 @@ ha_innobase::truncate()
...
@@ -12740,7 +12740,7 @@ ha_innobase::truncate()
if
(
share
->
ib_table
!=
prebuilt
->
table
)
{
if
(
share
->
ib_table
!=
prebuilt
->
table
)
{
fprintf
(
stderr
,
fprintf
(
stderr
,
"InnoDB: Warning: share->ib_table %p prebuilt->table %p table %s is_corrupt %d."
,
"InnoDB: Warning: share->ib_table %p prebuilt->table %p table %s is_corrupt %d."
,
share
->
ib_table
,
prebuilt
->
table
,
prebuilt
->
table
->
name
,
prebuilt
->
table
->
is_corrupt
);
share
->
ib_table
,
prebuilt
->
table
,
prebuilt
->
table
->
name
,
(
int
)
prebuilt
->
table
->
is_corrupt
);
}
}
if
(
UNIV_UNLIKELY
(
share
->
ib_table
&&
share
->
ib_table
->
is_corrupt
))
{
if
(
UNIV_UNLIKELY
(
share
->
ib_table
&&
share
->
ib_table
->
is_corrupt
))
{
...
@@ -12761,7 +12761,7 @@ ha_innobase::truncate()
...
@@ -12761,7 +12761,7 @@ ha_innobase::truncate()
if
(
share
->
ib_table
!=
prebuilt
->
table
)
{
if
(
share
->
ib_table
!=
prebuilt
->
table
)
{
fprintf
(
stderr
,
fprintf
(
stderr
,
"InnoDB: Warning: share->ib_table %p prebuilt->table %p table %s is_corrupt %d."
,
"InnoDB: Warning: share->ib_table %p prebuilt->table %p table %s is_corrupt %d."
,
share
->
ib_table
,
prebuilt
->
table
,
prebuilt
->
table
->
name
,
prebuilt
->
table
->
is_corrupt
);
share
->
ib_table
,
prebuilt
->
table
,
prebuilt
->
table
->
name
,
(
int
)
prebuilt
->
table
->
is_corrupt
);
}
}
if
(
UNIV_UNLIKELY
(
share
->
ib_table
&&
share
->
ib_table
->
is_corrupt
))
{
if
(
UNIV_UNLIKELY
(
share
->
ib_table
&&
share
->
ib_table
->
is_corrupt
))
{
...
@@ -14157,7 +14157,7 @@ ha_innobase::analyze(
...
@@ -14157,7 +14157,7 @@ ha_innobase::analyze(
if
(
share
->
ib_table
!=
prebuilt
->
table
)
{
if
(
share
->
ib_table
!=
prebuilt
->
table
)
{
fprintf
(
stderr
,
fprintf
(
stderr
,
"InnoDB: Warning: share->ib_table %p prebuilt->table %p table %s is_corrupt %d."
,
"InnoDB: Warning: share->ib_table %p prebuilt->table %p table %s is_corrupt %d."
,
share
->
ib_table
,
prebuilt
->
table
,
prebuilt
->
table
->
name
,
prebuilt
->
table
->
is_corrupt
);
share
->
ib_table
,
prebuilt
->
table
,
prebuilt
->
table
->
name
,
(
int
)
prebuilt
->
table
->
is_corrupt
);
}
}
if
(
UNIV_UNLIKELY
(
share
->
ib_table
&&
share
->
ib_table
->
is_corrupt
))
{
if
(
UNIV_UNLIKELY
(
share
->
ib_table
&&
share
->
ib_table
->
is_corrupt
))
{
...
@@ -14173,7 +14173,7 @@ ha_innobase::analyze(
...
@@ -14173,7 +14173,7 @@ ha_innobase::analyze(
if
(
share
->
ib_table
!=
prebuilt
->
table
)
{
if
(
share
->
ib_table
!=
prebuilt
->
table
)
{
fprintf
(
stderr
,
fprintf
(
stderr
,
"InnoDB: Warning: share->ib_table %p prebuilt->table %p table %s is_corrupt %d."
,
"InnoDB: Warning: share->ib_table %p prebuilt->table %p table %s is_corrupt %d."
,
share
->
ib_table
,
prebuilt
->
table
,
prebuilt
->
table
->
name
,
prebuilt
->
table
->
is_corrupt
);
share
->
ib_table
,
prebuilt
->
table
,
prebuilt
->
table
->
name
,
(
int
)
prebuilt
->
table
->
is_corrupt
);
}
}
if
(
UNIV_UNLIKELY
(
share
->
ib_table
&&
share
->
ib_table
->
is_corrupt
))
{
if
(
UNIV_UNLIKELY
(
share
->
ib_table
&&
share
->
ib_table
->
is_corrupt
))
{
...
@@ -15388,7 +15388,7 @@ ha_innobase::transactional_table_lock(
...
@@ -15388,7 +15388,7 @@ ha_innobase::transactional_table_lock(
if
(
share
->
ib_table
!=
prebuilt
->
table
)
{
if
(
share
->
ib_table
!=
prebuilt
->
table
)
{
fprintf
(
stderr
,
fprintf
(
stderr
,
"InnoDB: Warning: share->ib_table %p prebuilt->table %p table %s is_corrupt %d."
,
"InnoDB: Warning: share->ib_table %p prebuilt->table %p table %s is_corrupt %d."
,
share
->
ib_table
,
prebuilt
->
table
,
prebuilt
->
table
->
name
,
prebuilt
->
table
->
is_corrupt
);
share
->
ib_table
,
prebuilt
->
table
,
prebuilt
->
table
->
name
,
(
int
)
prebuilt
->
table
->
is_corrupt
);
}
}
if
(
UNIV_UNLIKELY
(
share
->
ib_table
&&
share
->
ib_table
->
is_corrupt
))
{
if
(
UNIV_UNLIKELY
(
share
->
ib_table
&&
share
->
ib_table
->
is_corrupt
))
{
...
...
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