sql_string.cc:

  Fixing a wrong comment.
parent 6168d3e1
...@@ -307,8 +307,8 @@ bool String::copy_aligned(const char *str,uint32 arg_length, uint32 offset, ...@@ -307,8 +307,8 @@ bool String::copy_aligned(const char *str,uint32 arg_length, uint32 offset,
return TRUE; return TRUE;
/* /*
Note, this is only safe for little-endian UCS-2. Note, this is only safe for big-endian UCS-2.
If we add big-endian UCS-2 sometimes, this code If we add little-endian UCS-2 sometimes, this code
will be more complicated. But it's OK for now. will be more complicated. But it's OK for now.
*/ */
bzero((char*) Ptr, offset); bzero((char*) Ptr, offset);
......
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