mirror of
https://github.com/MariaDB/server.git
synced 2026-04-30 12:15:32 +02:00
mysql.spec.sh:
Disable old RPM strip my_global.h: Fixed wrong cast, which caused problems with gcc 4.0 and floats in prepared statements (Bug #19694) mysqlmanager.vcproj: Place output files in common release/debug directory
This commit is contained in:
parent
6f6b966d16
commit
593b359d92
3 changed files with 21 additions and 4 deletions
|
|
@ -1071,8 +1071,8 @@ do { doubleget_union _tmp; \
|
|||
#define doublestore(T,V) do { *((long *) T) = ((doubleget_union *)&V)->m[0]; \
|
||||
*(((long *) T)+1) = ((doubleget_union *)&V)->m[1]; \
|
||||
} while (0)
|
||||
#define float4get(V,M) do { *((long *) &(V)) = *((long*) (M)); } while(0)
|
||||
#define float8get(V,M) doubleget((V),(M))
|
||||
#define float4get(V,M) do { *((float *) &(V)) = *((float*) (M)); } while(0)
|
||||
#define float8get(V,M) doubleget((V),(M))
|
||||
#define float4store(V,M) memcpy((byte*) V,(byte*) (&M),sizeof(float))
|
||||
#define floatstore(T,V) memcpy((byte*)(T), (byte*)(&V),sizeof(float))
|
||||
#define floatget(V,M) memcpy((byte*) &V,(byte*) (M),sizeof(float))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue