field.cc, field.h:

i5 compatibility


sql/field.h:
  i5 compatibility
sql/field.cc:
  i5 compatibility
This commit is contained in:
unknown 2007-07-19 14:12:05 +02:00
parent e90b0c6e79
commit 9fa66ba423
2 changed files with 2 additions and 1 deletions

View file

@ -6270,6 +6270,7 @@ Field *Field_string::new_field(MEM_ROOT *root, struct st_table *new_table,
is 2.
****************************************************************************/
const uint Field_varstring::MAX_SIZE= UINT_MAX16;
int Field_varstring::store(const char *from,uint length,CHARSET_INFO *cs)
{

View file

@ -1116,7 +1116,7 @@ public:
The maximum space available in a Field_varstring, in bytes. See
length_bytes.
*/
static const uint MAX_SIZE= UINT_MAX16;
static const uint MAX_SIZE;
/* Store number of bytes used to store length (1 or 2) */
uint32 length_bytes;
Field_varstring(char *ptr_arg,