mirror of
https://github.com/MariaDB/server.git
synced 2026-05-04 14:15:33 +02:00
Fix remaining windows (32 bit) warnings.
This commit is contained in:
parent
70a7e97e3c
commit
99320324b2
2 changed files with 5 additions and 1 deletions
|
|
@ -1942,4 +1942,7 @@ bool debug_sync_set_action(THD *thd, const char *action_str, size_t len)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#endif /* defined(ENABLED_DEBUG_SYNC) */
|
#else /* defined(ENABLED_DEBUG_SYNC) */
|
||||||
|
/* prevent linker/lib warning about file without public symbols */
|
||||||
|
int debug_sync_dummy;
|
||||||
|
#endif /* defined(ENABLED_DEBUG_SYNC) */
|
||||||
|
|
@ -2062,6 +2062,7 @@ static void lck_do_job(XTThreadPtr self, int job, XSLockTestPtr data, xtBool rea
|
||||||
|
|
||||||
switch (job) {
|
switch (job) {
|
||||||
case JOB_MEMCPY:
|
case JOB_MEMCPY:
|
||||||
|
b2[0]=0;
|
||||||
memcpy(b1, b2, 2048);
|
memcpy(b1, b2, 2048);
|
||||||
data->xs_inc++;
|
data->xs_inc++;
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue