1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-30 19:23:07 +03:00

Remove windows ifdefs

This commit is contained in:
Leonid Fedorov
2023-03-02 15:59:42 +00:00
parent 123c345b40
commit 56f2346083
328 changed files with 9 additions and 19602 deletions

View File

@ -631,13 +631,7 @@ string Func_sha::getStrVal(rowgroup::Row& row, FunctionParm& parm, bool& isNull,
sha << parm[0]->data()->getStrVal(row, isNull).c_str();
// can not compute
#ifdef _MSC_VER
// This cast is probably portable, but we'll leave it for Windows only for now...
if (!sha.Result(reinterpret_cast<unsigned int*>(message_digest)))
#else
if (!sha.Result(message_digest))
#endif
{
isNull = true;
return "";