You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-29 08:21:15 +03:00
Remove windows ifdefs
This commit is contained in:
@ -546,9 +546,6 @@ extern "C"
|
||||
* CalShowPartitions
|
||||
*/
|
||||
|
||||
#ifdef _MSC_VER
|
||||
__declspec(dllexport)
|
||||
#endif
|
||||
my_bool calshowpartitions_init(UDF_INIT* initid, UDF_ARGS* args, char* message)
|
||||
{
|
||||
if (args->arg_count < 2 || args->arg_count > 3 || args->arg_type[0] != STRING_RESULT ||
|
||||
@ -570,17 +567,11 @@ extern "C"
|
||||
return 0;
|
||||
}
|
||||
|
||||
#ifdef _MSC_VER
|
||||
__declspec(dllexport)
|
||||
#endif
|
||||
void calshowpartitions_deinit(UDF_INIT* initid)
|
||||
{
|
||||
delete initid->ptr;
|
||||
}
|
||||
|
||||
#ifdef _MSC_VER
|
||||
__declspec(dllexport)
|
||||
#endif
|
||||
const char* calshowpartitions(UDF_INIT* initid, UDF_ARGS* args, char* result, unsigned long* length,
|
||||
char* is_null, char* error)
|
||||
{
|
||||
@ -710,9 +701,6 @@ extern "C"
|
||||
* CalDisablePartitions
|
||||
*/
|
||||
|
||||
#ifdef _MSC_VER
|
||||
__declspec(dllexport)
|
||||
#endif
|
||||
my_bool caldisablepartitions_init(UDF_INIT* initid, UDF_ARGS* args, char* message)
|
||||
{
|
||||
bool err = false;
|
||||
@ -747,9 +735,6 @@ extern "C"
|
||||
return 0;
|
||||
}
|
||||
|
||||
#ifdef _MSC_VER
|
||||
__declspec(dllexport)
|
||||
#endif
|
||||
const char* caldisablepartitions(UDF_INIT* initid, UDF_ARGS* args, char* result, unsigned long* length,
|
||||
char* is_null, char* error)
|
||||
{
|
||||
@ -787,9 +772,6 @@ extern "C"
|
||||
return result;
|
||||
}
|
||||
|
||||
#ifdef _MSC_VER
|
||||
__declspec(dllexport)
|
||||
#endif
|
||||
void caldisablepartitions_deinit(UDF_INIT* initid)
|
||||
{
|
||||
}
|
||||
@ -798,9 +780,6 @@ extern "C"
|
||||
* CalEnablePartitions
|
||||
*/
|
||||
|
||||
#ifdef _MSC_VER
|
||||
__declspec(dllexport)
|
||||
#endif
|
||||
my_bool calenablepartitions_init(UDF_INIT* initid, UDF_ARGS* args, char* message)
|
||||
{
|
||||
bool err = false;
|
||||
@ -835,9 +814,6 @@ extern "C"
|
||||
return 0;
|
||||
}
|
||||
|
||||
#ifdef _MSC_VER
|
||||
__declspec(dllexport)
|
||||
#endif
|
||||
const char* calenablepartitions(UDF_INIT* initid, UDF_ARGS* args, char* result, unsigned long* length,
|
||||
char* is_null, char* error)
|
||||
{
|
||||
@ -875,9 +851,6 @@ extern "C"
|
||||
return result;
|
||||
}
|
||||
|
||||
#ifdef _MSC_VER
|
||||
__declspec(dllexport)
|
||||
#endif
|
||||
void calenablepartitions_deinit(UDF_INIT* initid)
|
||||
{
|
||||
}
|
||||
@ -886,9 +859,6 @@ extern "C"
|
||||
* CalDropPartitions
|
||||
*/
|
||||
|
||||
#ifdef _MSC_VER
|
||||
__declspec(dllexport)
|
||||
#endif
|
||||
my_bool caldroppartitions_init(UDF_INIT* initid, UDF_ARGS* args, char* message)
|
||||
{
|
||||
bool err = false;
|
||||
@ -923,9 +893,6 @@ extern "C"
|
||||
return 0;
|
||||
}
|
||||
|
||||
#ifdef _MSC_VER
|
||||
__declspec(dllexport)
|
||||
#endif
|
||||
const char* caldroppartitions(UDF_INIT* initid, UDF_ARGS* args, char* result, unsigned long* length,
|
||||
char* is_null, char* error)
|
||||
{
|
||||
@ -963,9 +930,6 @@ extern "C"
|
||||
return result;
|
||||
}
|
||||
|
||||
#ifdef _MSC_VER
|
||||
__declspec(dllexport)
|
||||
#endif
|
||||
void caldroppartitions_deinit(UDF_INIT* initid)
|
||||
{
|
||||
}
|
||||
@ -974,16 +938,10 @@ extern "C"
|
||||
* CalDropPartitionsByValue
|
||||
*/
|
||||
|
||||
#ifdef _MSC_VER
|
||||
__declspec(dllexport)
|
||||
#endif
|
||||
void caldroppartitionsbyvalue_deinit(UDF_INIT* initid)
|
||||
{
|
||||
}
|
||||
|
||||
#ifdef _MSC_VER
|
||||
__declspec(dllexport)
|
||||
#endif
|
||||
my_bool caldroppartitionsbyvalue_init(UDF_INIT* initid, UDF_ARGS* args, char* message)
|
||||
{
|
||||
bool err = false;
|
||||
@ -1021,9 +979,6 @@ extern "C"
|
||||
return 0;
|
||||
}
|
||||
|
||||
#ifdef _MSC_VER
|
||||
__declspec(dllexport)
|
||||
#endif
|
||||
const char* caldroppartitionsbyvalue(UDF_INIT* initid, UDF_ARGS* args, char* result,
|
||||
unsigned long* length, char* is_null, char* error)
|
||||
{
|
||||
@ -1050,16 +1005,10 @@ extern "C"
|
||||
* CalDisablePartitionsByValue
|
||||
*/
|
||||
|
||||
#ifdef _MSC_VER
|
||||
__declspec(dllexport)
|
||||
#endif
|
||||
void caldisablepartitionsbyvalue_deinit(UDF_INIT* initid)
|
||||
{
|
||||
}
|
||||
|
||||
#ifdef _MSC_VER
|
||||
__declspec(dllexport)
|
||||
#endif
|
||||
my_bool caldisablepartitionsbyvalue_init(UDF_INIT* initid, UDF_ARGS* args, char* message)
|
||||
{
|
||||
bool err = false;
|
||||
@ -1093,9 +1042,6 @@ extern "C"
|
||||
return 0;
|
||||
}
|
||||
|
||||
#ifdef _MSC_VER
|
||||
__declspec(dllexport)
|
||||
#endif
|
||||
const char* caldisablepartitionsbyvalue(UDF_INIT* initid, UDF_ARGS* args, char* result,
|
||||
unsigned long* length, char* is_null, char* error)
|
||||
{
|
||||
@ -1121,16 +1067,10 @@ extern "C"
|
||||
/**
|
||||
* CalEnablePartitionsByValue
|
||||
*/
|
||||
#ifdef _MSC_VER
|
||||
__declspec(dllexport)
|
||||
#endif
|
||||
void calenablepartitionsbyvalue_deinit(UDF_INIT* initid)
|
||||
{
|
||||
}
|
||||
|
||||
#ifdef _MSC_VER
|
||||
__declspec(dllexport)
|
||||
#endif
|
||||
my_bool calenablepartitionsbyvalue_init(UDF_INIT* initid, UDF_ARGS* args, char* message)
|
||||
{
|
||||
bool err = false;
|
||||
@ -1164,9 +1104,6 @@ extern "C"
|
||||
return 0;
|
||||
}
|
||||
|
||||
#ifdef _MSC_VER
|
||||
__declspec(dllexport)
|
||||
#endif
|
||||
const char* calenablepartitionsbyvalue(UDF_INIT* initid, UDF_ARGS* args, char* result,
|
||||
unsigned long* length, char* is_null, char* error)
|
||||
{
|
||||
@ -1192,9 +1129,6 @@ extern "C"
|
||||
/**
|
||||
* CalShowPartitionsByValue
|
||||
*/
|
||||
#ifdef _MSC_VER
|
||||
__declspec(dllexport)
|
||||
#endif
|
||||
my_bool calshowpartitionsbyvalue_init(UDF_INIT* initid, UDF_ARGS* args, char* message)
|
||||
{
|
||||
bool err = false;
|
||||
@ -1228,17 +1162,11 @@ extern "C"
|
||||
return 0;
|
||||
}
|
||||
|
||||
#ifdef _MSC_VER
|
||||
__declspec(dllexport)
|
||||
#endif
|
||||
void calshowpartitionsbyvalue_deinit(UDF_INIT* initid)
|
||||
{
|
||||
delete initid->ptr;
|
||||
}
|
||||
|
||||
#ifdef _MSC_VER
|
||||
__declspec(dllexport)
|
||||
#endif
|
||||
const char* calshowpartitionsbyvalue(UDF_INIT* initid, UDF_ARGS* args, char* result,
|
||||
unsigned long* length, char* is_null, char* error)
|
||||
{
|
||||
|
Reference in New Issue
Block a user