mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 20:12:31 +01:00
Merge mysqldev@production:my/mysql-4.1.16-fixes
into mysql.com:/usr/local/mysql/mysql-4.1
This commit is contained in:
commit
57bfc6ddcb
2 changed files with 5 additions and 5 deletions
|
@ -278,10 +278,10 @@ inline double ulonglong2double(ulonglong value)
|
|||
*((T)+4)=(uchar) (((A) >> 32)); }
|
||||
#define int8store(T,A) *((ulonglong *) (T))= (ulonglong) (A)
|
||||
|
||||
#define doubleget(V,M) { *((long *) &V) = *((long*) M); \
|
||||
*(((long *) &V)+1) = *(((long*) M)+1); }
|
||||
#define doublestore(T,V) { *((long *) T) = *((long*) &V); \
|
||||
*(((long *) T)+1) = *(((long*) &V)+1); }
|
||||
#define doubleget(V,M) do { *((long *) &V) = *((long*) M); \
|
||||
*(((long *) &V)+1) = *(((long*) M)+1); } while(0)
|
||||
#define doublestore(T,V) do { *((long *) T) = *((long*) &V); \
|
||||
*(((long *) T)+1) = *(((long*) &V)+1); } while(0)
|
||||
#define float4get(V,M) { *((long *) &(V)) = *((long*) (M)); }
|
||||
#define floatget(V,M) memcpy((byte*) &V,(byte*) (M),sizeof(float))
|
||||
#define floatstore(T,V) memcpy((byte*)(T), (byte*)(&V), sizeof(float))
|
||||
|
|
|
@ -2035,7 +2035,7 @@ Rotate_log_event::Rotate_log_event(THD* thd_arg,
|
|||
llstr(pos_arg, buff), flags));
|
||||
#endif
|
||||
if (flags & DUP_NAME)
|
||||
new_log_ident= my_strdup_with_length(new_log_ident_arg,
|
||||
new_log_ident= my_strdup_with_length((byte*) new_log_ident_arg,
|
||||
ident_len,
|
||||
MYF(MY_WME));
|
||||
DBUG_VOID_RETURN;
|
||||
|
|
Loading…
Reference in a new issue