Below is the list of changes that have just been committed into a local
4.1 repository of bar. When bar 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://www.mysql.com/doc/I/n/Installing_source_tree.html
ChangeSet
1.1474 03/02/27 11:44:45 bar@xxxxxxxxxxxxxxxx +1 -0
field.cc:
rename len -> length, to look in common style
sql/field.cc
1.88 03/02/27 11:44:16 bar@xxxxxxxxxxxxxxxx +5 -5
rename len -> length, to look in common style
# 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: bar
# Host: bar.mysql.r18.ru
# Root: /usr/home/bar/mysql-4.1
--- 1.87/sql/field.cc Wed Feb 26 13:33:54 2003
+++ 1.88/sql/field.cc Thu Feb 27 11:44:16 2003
@@ -4351,18 +4351,18 @@
}
-int Field_blob::store(const char *from,uint len,CHARSET_INFO *cs)
+int Field_blob::store(const char *from,uint length,CHARSET_INFO *cs)
{
- if (!len)
+ if (!length)
{
bzero(ptr,Field_blob::pack_length());
}
else
{
- Field_blob::store_length(len);
- if (table->copy_blobs || len <= MAX_FIELD_WIDTH)
+ Field_blob::store_length(length);
+ if (table->copy_blobs || length <= MAX_FIELD_WIDTH)
{ // Must make a copy
- value.copy(from,len,charset());
+ value.copy(from,length,charset());
from=value.ptr();
}
bmove(ptr+packlength,(char*) &from,sizeof(char*));
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail internals-thread7205@xxxxxxxxxxxxxxx
To unsubscribe, e-mail <internals-unsubscribe@xxxxxxxxxxxxxxx>
|