mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 10:02:01 +00:00
working commit
This commit is contained in:
parent
7bef7c259c
commit
7ed84fd464
@ -718,7 +718,8 @@ private:
|
||||
for (size_t i = 0; i < size; ++i)
|
||||
{
|
||||
String hex_string = vec_from[i].toHexString();
|
||||
const ToType h = Impl::apply(reinterpret_cast<const char *>(&hex_string), 8);
|
||||
std::cerr << "\n\n" << hex_string << "\n\n";
|
||||
const ToType h = Impl::apply(reinterpret_cast<const char *>(&hex_string), 16);
|
||||
if (first)
|
||||
vec_to[i] = h;
|
||||
else
|
||||
@ -740,6 +741,8 @@ private:
|
||||
size_t size = vec_from.size();
|
||||
for (size_t i = 0; i < size; ++i)
|
||||
{
|
||||
const char * to = reinterpret_cast<const char *>(&vec_from[i]);
|
||||
std::cerr << "\n\n" << to << "\n\n";
|
||||
const ToType h = Impl::apply(reinterpret_cast<const char *>(&vec_from[i]), 16);
|
||||
if (first)
|
||||
vec_to[i] = h;
|
||||
|
Loading…
Reference in New Issue
Block a user