mirror of
https://github.com/MariaDB/server.git
synced 2026-05-16 20:07:13 +02:00
Fixed number of compiler errors on win32.
VC++Files/mysqlbinlog/mysqlbinlog.vcproj:
Fixed compiler error for Win32 build. #include "decimal.c" wrere no able to find decimal.c file.
sql/ha_innodb.cc:
Fixed compiler error for Win32 build.
sql/spatial.cc:
Fixed compiler error for Win32 build. float8get should be enclosed
in {} since it is macro on win32 and might cause unmatching blocks.
This commit is contained in:
parent
63bbb1513a
commit
67df0e19e4
3 changed files with 5 additions and 3 deletions
|
|
@ -22,7 +22,7 @@
|
|||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
OptimizeForProcessor="2"
|
||||
AdditionalIncludeDirectories="../include,../,../sql"
|
||||
AdditionalIncludeDirectories="../include,../,../sql,../strings"
|
||||
PreprocessorDefinitions="_DEBUG;SAFEMALLOC;SAFE_MUTEX;_CONSOLE;_WINDOWS;MYSQL_SERVER"
|
||||
RuntimeLibrary="1"
|
||||
PrecompiledHeaderFile=".\Debug/mysqlbinlog.pch"
|
||||
|
|
|
|||
|
|
@ -3009,8 +3009,8 @@ ha_innobase::store_key_val_for_row(
|
|||
|
||||
if (key_part->length > 0 && cs->mbmaxlen > 1) {
|
||||
len = (ulint) cs->cset->well_formed_len(cs,
|
||||
src_start,
|
||||
src_start + key_part->length,
|
||||
(const char *) src_start,
|
||||
(const char *) src_start + key_part->length,
|
||||
key_part->length / cs->mbmaxlen,
|
||||
&error);
|
||||
} else {
|
||||
|
|
|
|||
|
|
@ -178,7 +178,9 @@ static double wkb_get_double(const char *ptr, Geometry::wkbByteOrder bo)
|
|||
{
|
||||
double res;
|
||||
if (bo != Geometry::wkb_xdr)
|
||||
{
|
||||
float8get(res, ptr);
|
||||
}
|
||||
else
|
||||
{
|
||||
char inv_array[8];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue