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
c1125c32
Commit
c1125c32
authored
Oct 02, 2016
by
Monty
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed compiler warnings and failing tests
parent
7b96416f
Changes
11
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
89 additions
and
107 deletions
+89
-107
extra/innochecksum.cc
extra/innochecksum.cc
+4
-1
mysql-test/suite/vcol/r/not_supported.result
mysql-test/suite/vcol/r/not_supported.result
+0
-6
mysql-test/suite/vcol/t/not_supported.test
mysql-test/suite/vcol/t/not_supported.test
+0
-4
sql/sys_vars.cc
sql/sys_vars.cc
+2
-0
storage/connect/tabjdbc.cpp
storage/connect/tabjdbc.cpp
+1
-1
storage/innobase/handler/i_s.cc
storage/innobase/handler/i_s.cc
+0
-1
storage/innobase/row/row0upd.cc
storage/innobase/row/row0upd.cc
+2
-1
storage/innobase/srv/srv0start.cc
storage/innobase/srv/srv0start.cc
+0
-1
storage/innobase/sync/sync0debug.cc
storage/innobase/sync/sync0debug.cc
+5
-1
storage/maria/ma_pagecache.c
storage/maria/ma_pagecache.c
+74
-90
storage/xtradb/buf/buf0buf.cc
storage/xtradb/buf/buf0buf.cc
+1
-1
No files found.
extra/innochecksum.cc
View file @
c1125c32
...
...
@@ -1500,7 +1500,9 @@ int main(
/* bytes read count */
ulong
bytes
;
/* Buffer to decompress page.*/
#ifdef MYSQL_COMPRESSION
byte
*
tbuf
=
NULL
;
#endif
/* current time */
time_t
now
;
/* last time */
...
...
@@ -1578,8 +1580,9 @@ int main(
buf
=
(
byte
*
)
malloc
(
UNIV_PAGE_SIZE_MAX
*
2
);
xdes
=
(
byte
*
)
malloc
(
UNIV_PAGE_SIZE_MAX
*
2
);
#ifdef MYSQL_COMPRESSION
tbuf
=
buf
+
UNIV_PAGE_SIZE_MAX
;
#endif
/* The file name is not optional. */
for
(
int
i
=
0
;
i
<
argc
;
++
i
)
{
/* Reset parameters for each file. */
...
...
mysql-test/suite/vcol/r/not_supported.result
View file @
c1125c32
...
...
@@ -26,12 +26,6 @@ a b v
disconnect con1;
connection default;
set time_zone='+1:00';
select * from t1;
a b v
1 2 0.3333333333333333333
select * from t8;
a b v
1234567890 2 2009-02-14 09:31:30
flush tables;
select * from t1;
a b v
...
...
mysql-test/suite/vcol/t/not_supported.test
View file @
c1125c32
...
...
@@ -35,10 +35,6 @@ select * from t8;
disconnect
con1
;
connection
default
;
set
time_zone
=
'+1:00'
;
select
*
from
t1
;
select
*
from
t8
;
flush
tables
;
select
*
from
t1
;
...
...
sql/sys_vars.cc
View file @
c1125c32
...
...
@@ -3247,11 +3247,13 @@ static bool fix_tp_max_threads(sys_var *, THD *, enum_var_type)
}
#ifdef _WIN32
static
bool
fix_tp_min_threads
(
sys_var
*
,
THD
*
,
enum_var_type
)
{
tp_set_min_threads
(
threadpool_min_threads
);
return
false
;
}
#endif
static
bool
check_threadpool_size
(
sys_var
*
self
,
THD
*
thd
,
set_var
*
var
)
{
...
...
storage/connect/tabjdbc.cpp
View file @
c1125c32
...
...
@@ -762,7 +762,7 @@ bool TDBJDBC::MakeCommand(PGLOBAL g)
}
else
{
sprintf
(
g
->
Message
,
"Cannot use this %s command"
,
(
Mode
==
MODE_UPDATE
)
?
"UPDATE"
:
"DELETE"
);
return
NULL
;
return
1
;
}
// endif p
Query
=
new
(
g
)
STRING
(
g
,
0
,
stmt
);
...
...
storage/innobase/handler/i_s.cc
View file @
c1125c32
...
...
@@ -1787,7 +1787,6 @@ i_s_cmp_per_index_fill_low(
}
mutex_exit
(
&
dict_sys
->
mutex
);
err:
if
(
reset
)
{
page_zip_reset_stat_per_index
();
...
...
storage/innobase/row/row0upd.cc
View file @
c1125c32
...
...
@@ -2418,8 +2418,9 @@ row_upd_sec_index_entry(
if
(
!
rec_get_deleted_flag
(
rec
,
dict_table_is_comp
(
index
->
table
)))
{
#ifdef WITH_WSREP
que_node_t
*
parent
=
que_node_get_parent
(
node
);
#endif
err
=
btr_cur_del_mark_set_sec_rec
(
flags
,
btr_cur
,
TRUE
,
thr
,
&
mtr
);
if
(
err
!=
DB_SUCCESS
)
{
...
...
storage/innobase/srv/srv0start.cc
View file @
c1125c32
...
...
@@ -179,7 +179,6 @@ void *mtflush_ctx=NULL;
static
os_thread_t
thread_handles
[
SRV_MAX_N_IO_THREADS
+
6
+
32
];
static
os_thread_t
buf_dump_thread_handle
;
static
os_thread_t
dict_stats_thread_handle
;
static
os_thread_t
buf_flush_page_cleaner_thread_handle
;
/** Status variables, is thread started ?*/
static
bool
thread_started
[
SRV_MAX_N_IO_THREADS
+
6
+
32
]
=
{
false
};
static
bool
buf_dump_thread_started
=
false
;
...
...
storage/innobase/sync/sync0debug.cc
View file @
c1125c32
...
...
@@ -1582,6 +1582,7 @@ sync_latch_meta_init()
}
/** Destroy the latch meta data */
#ifdef JAN_DISABLED_FOR_NOW_AS_THIS_CAUSES_CRASH
static
void
sync_latch_meta_destroy
()
...
...
@@ -1595,6 +1596,7 @@ sync_latch_meta_destroy()
latch_meta
.
clear
();
}
#endif
/** Track mutex file creation name and line number. This is to avoid storing
{ const char* name; uint16_t line; } in every instance. This results in the
...
...
@@ -1808,6 +1810,8 @@ sync_check_close()
create_tracker
=
NULL
;
// sync_latch_meta_destroy();
#ifdef JAN_DISABLED_FOR_NOW_AS_THIS_CAUSES_CRASH
sync_latch_meta_destroy
();
#endif
}
storage/maria/ma_pagecache.c
View file @
c1125c32
This diff is collapsed.
Click to expand it.
storage/xtradb/buf/buf0buf.cc
View file @
c1125c32
...
...
@@ -5018,7 +5018,7 @@ buf_all_freed_instance(
block
->
page
.
offset
);
ib_logf
(
IB_LOG_LEVEL_ERROR
,
"Page oldest_modification %lu fix_count %d io_fix %d."
,
block
->
page
.
oldest_modification
,
(
ulong
)
block
->
page
.
oldest_modification
,
block
->
page
.
buf_fix_count
,
buf_page_get_io_fix
(
&
block
->
page
));
ib_logf
(
IB_LOG_LEVEL_ERROR
,
...
...
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