Commit cd1e5d65 authored by Marko Mäkelä's avatar Marko Mäkelä

MDEV-19838 fixup: clang -Wunused-const-variable

parent e25623e7
/* Copyright (c) 2002, 2015, Oracle and/or its affiliates. /* Copyright (c) 2002, 2015, Oracle and/or its affiliates.
Copyright (c) 2008, 2019, MariaDB Copyright (c) 2008, 2021, MariaDB
This program is free software; you can redistribute it and/or modify This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by it under the terms of the GNU General Public License as published by
...@@ -117,15 +117,14 @@ When one supplies long data for a placeholder: ...@@ -117,15 +117,14 @@ When one supplies long data for a placeholder:
#include <mysql.h> #include <mysql.h>
#else #else
#include <mysql_com.h> #include <mysql_com.h>
/* Constants defining bits in parameter type flags. Flags are read from high byte of short value */
static const uint PARAMETER_FLAG_UNSIGNED= 128U << 8;
#endif #endif
#include "lock.h" // MYSQL_OPEN_FORCE_SHARED_MDL #include "lock.h" // MYSQL_OPEN_FORCE_SHARED_MDL
#include "sql_handler.h" #include "sql_handler.h"
#include "transaction.h" // trans_rollback_implicit #include "transaction.h" // trans_rollback_implicit
#include "wsrep_mysqld.h" #include "wsrep_mysqld.h"
/* Constants defining bits in parameter type flags. Flags are read from high byte of short value */
static const uint PARAMETER_FLAG_UNSIGNED = 128U << 8;
/** /**
A result class used to send cursor rows using the binary protocol. A result class used to send cursor rows using the binary protocol.
*/ */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment