Below is the list of changes that have just been committed into a local
4.1 repository of lenz. When lenz does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html
ChangeSet
1.2357 05/07/15 09:15:06 lenz@stripped +1 -0
Merge mysql.com:/space/my/mysql-4.1.13-clone
into mysql.com:/space/my/mysql-4.1-build
sql/sql_prepare.cc
1.149 05/07/15 09:15:04 lenz@stripped +0 -0
Auto merged
# This is a BitKeeper patch. What follows are the unified diffs for the
# set of deltas contained in the patch. The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User: lenz
# Host: metis.lenznet
# Root: /space/my/mysql-4.1-build/RESYNC
--- 1.148/sql/sql_prepare.cc 2005-07-13 15:38:51 +02:00
+++ 1.149/sql/sql_prepare.cc 2005-07-15 09:15:04 +02:00
@@ -306,24 +306,28 @@
static void set_param_float(Item_param *param, uchar **pos, ulong len)
{
+ float data;
#ifndef EMBEDDED_LIBRARY
if (len < 4)
return;
-#endif
- float data;
float4get(data,*pos);
+#else
+ data= *(float*) *pos;
+#endif
param->set_double((double) data);
*pos+= 4;
}
static void set_param_double(Item_param *param, uchar **pos, ulong len)
{
+ double data;
#ifndef EMBEDDED_LIBRARY
if (len < 8)
return;
-#endif
- double data;
float8get(data,*pos);
+#else
+ data= *(double*) *pos;
+#endif
param->set_double((double) data);
*pos+= 8;
}
| Thread |
|---|
| • bk commit into 4.1 tree (lenz:1.2357) | lenz | 15 Jul |