mirror of
https://github.com/MariaDB/server.git
synced 2025-12-03 05:41:09 +03:00
Bug#22828 complementary patch:
- 'false' not defined in C, use FALSE instead. mysys/my_lock.c: Fixed error for windows built: 'false' not defined in C, use FALSE instead.
This commit is contained in:
@@ -101,7 +101,7 @@ int my_lock(File fd, int locktype, my_off_t start, my_off_t length,
|
|||||||
#elif defined(HAVE_LOCKING)
|
#elif defined(HAVE_LOCKING)
|
||||||
/* Windows */
|
/* Windows */
|
||||||
{
|
{
|
||||||
my_bool error= false;
|
my_bool error= FALSE;
|
||||||
pthread_mutex_lock(&my_file_info[fd].mutex);
|
pthread_mutex_lock(&my_file_info[fd].mutex);
|
||||||
if (MyFlags & MY_SEEK_NOT_DONE)
|
if (MyFlags & MY_SEEK_NOT_DONE)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user