~drizzle-trunk/drizzle/development

  • Committer: Stewart Smith
  • Author(s): Marko Mäkelä, Stewart Smith
  • Date: 2010-11-17 05:52:09 UTC
  • mto: (2021.1.2 build)
  • Revision ID: stewart@flamingspork.com-20101117055209-69m035q6h7e1txrc
Merge Revision revid:marko.makela@oracle.com-20100629113248-fvl48lnzr44z94gg from MySQL InnoDB

Original revid:marko.makela@oracle.com-20100629113248-fvl48lnzr44z94gg

Original Authors: Marko Mkel <marko.makela@oracle.com>
Original commit message:
Bug#52199 utf32: mbminlen=4, mbmaxlen=4, type->mbminlen=0, type->mbmaxlen=4

Merge and adjust a forgotten change to fix this bug.
rb://393 approved by Jimmy Yang
  ------------------------------------------------------------------------
  r3794 | marko | 2009-01-07 14:14:53 +0000 (Wed, 07 Jan 2009) | 18 lines

  branches/6.0: Allow the minimum length of a multi-byte character to be
  up to 4 bytes. (Bug #35391)

  dtype_t, dict_col_t: Replace mbminlen:2, mbmaxlen:3 with mbminmaxlen:5.
  In this way, the 5 bits can hold two values of 0..4, and the storage size
  of the fields will not cross the 64-bit boundary.  Encode the values as
  DATA_MBMAX * mbmaxlen + mbminlen.  Define the auxiliary macros
  DB_MBMINLEN(mbminmaxlen), DB_MBMAXLEN(mbminmaxlen), and
  DB_MINMAXLEN(mbminlen, mbmaxlen).

  Try to trim and pad UTF-16 and UTF-32 with spaces as appropriate.

  Alexander Barkov suggested the use of cs->cset->fill(cs, buff, len, 0x20).
  ha_innobase::store_key_val_for_row() now does that, but the added function
  row_mysql_pad_col() does not, because it doesn't have the MySQL TABLE object.

  rb://49 approved by Heikki Tuuri
  ------------------------------------------------------------------------
Filename Latest Rev Last Changed Committer Comment Size
..
CSConfig.h 1841.1.3 14 years ago Barry.Leslie at PrimeBase Merged changes from lp:pbms. These changes should 2.6 KB Diff Download File
CSDefs.h 1841.1.6 14 years ago Barry.Leslie at PrimeBase Updating PBMS code to match pbms revision 244 13.1 KB Diff Download File
CSDirectory.cc 1841.1.3 14 years ago Barry.Leslie at PrimeBase Merged changes from lp:pbms. These changes should 3 KB Diff Download File
CSDirectory.h 1841.1.3 14 years ago Barry.Leslie at PrimeBase Merged changes from lp:pbms. These changes should 1.5 KB Diff Download File
CSEncode.cc 1841.1.3 14 years ago Barry.Leslie at PrimeBase Merged changes from lp:pbms. These changes should 9.9 KB Diff Download File
CSEncode.h 1841.1.3 14 years ago Barry.Leslie at PrimeBase Merged changes from lp:pbms. These changes should 1.8 KB Diff Download File
CSException.cc 1841.1.6 14 years ago Barry.Leslie at PrimeBase Updating PBMS code to match pbms revision 244 13.6 KB Diff Download File
CSException.h 1841.1.3 14 years ago Barry.Leslie at PrimeBase Merged changes from lp:pbms. These changes should 5.3 KB Diff Download File
CSFile.cc 1841.1.6 14 years ago Barry.Leslie at PrimeBase Updating PBMS code to match pbms revision 244 10.3 KB Diff Download File
CSFile.h 1841.1.3 14 years ago Barry.Leslie at PrimeBase Merged changes from lp:pbms. These changes should 4.6 KB Diff Download File
CSGlobal.h 1841.1.6 14 years ago Barry.Leslie at PrimeBase Updating PBMS code to match pbms revision 244 8.7 KB Diff Download File
CSHTTPStream.cc 1841.1.3 14 years ago Barry.Leslie at PrimeBase Merged changes from lp:pbms. These changes should 15.8 KB Diff Download File
CSHTTPStream.h 1841.1.3 14 years ago Barry.Leslie at PrimeBase Merged changes from lp:pbms. These changes should 6.6 KB Diff Download File
CSLog.cc 1841.1.3 14 years ago Barry.Leslie at PrimeBase Merged changes from lp:pbms. These changes should 4.8 KB Diff Download File
CSLog.h 1841.1.3 14 years ago Barry.Leslie at PrimeBase Merged changes from lp:pbms. These changes should 2.9 KB Diff Download File
CSMd5.cc 1841.1.3 14 years ago Barry.Leslie at PrimeBase Merged changes from lp:pbms. These changes should 12.4 KB Diff Download File
CSMd5.h 1841.1.3 14 years ago Barry.Leslie at PrimeBase Merged changes from lp:pbms. These changes should 4.2 KB Diff Download File
CSMemory.cc 1841.1.3 14 years ago Barry.Leslie at PrimeBase Merged changes from lp:pbms. These changes should 16.8 KB Diff Download File
CSMemory.h 1841.1.3 14 years ago Barry.Leslie at PrimeBase Merged changes from lp:pbms. These changes should 2.6 KB Diff Download File
CSMutex.cc 1841.1.3 14 years ago Barry.Leslie at PrimeBase Merged changes from lp:pbms. These changes should 4.1 KB Diff Download File
CSMutex.h 1841.1.3 14 years ago Barry.Leslie at PrimeBase Merged changes from lp:pbms. These changes should 2 KB Diff Download File
CSObject.cc 1841.1.3 14 years ago Barry.Leslie at PrimeBase Merged changes from lp:pbms. These changes should 5.8 KB Diff Download File
CSObject.h 1841.1.3 14 years ago Barry.Leslie at PrimeBase Merged changes from lp:pbms. These changes should 4 KB Diff Download File
CSPath.cc 1841.1.3 14 years ago Barry.Leslie at PrimeBase Merged changes from lp:pbms. These changes should 11.3 KB Diff Download File
CSPath.h 1841.1.3 14 years ago Barry.Leslie at PrimeBase Merged changes from lp:pbms. These changes should 3.6 KB Diff Download File
CSS3Protocol.cc 1841.1.3 14 years ago Barry.Leslie at PrimeBase Merged changes from lp:pbms. These changes should 38.8 KB Diff Download File
CSS3Protocol.h 1841.1.3 14 years ago Barry.Leslie at PrimeBase Merged changes from lp:pbms. These changes should 4.2 KB Diff Download File
CSSha1.cc 1841.1.3 14 years ago Barry.Leslie at PrimeBase Merged changes from lp:pbms. These changes should 6.1 KB Diff Download File
CSSha1.h 1802.10.2 14 years ago Monty Taylor Update all of the copyright headers to include the 2.7 KB Diff Download File
CSSocket.cc 1841.1.3 14 years ago Barry.Leslie at PrimeBase Merged changes from lp:pbms. These changes should 12 KB Diff Download File
CSSocket.h 1841.1.3 14 years ago Barry.Leslie at PrimeBase Merged changes from lp:pbms. These changes should 3.7 KB Diff Download File
CSStorage.cc 1841.1.6 14 years ago Barry.Leslie at PrimeBase Updating PBMS code to match pbms revision 244 12.8 KB Diff Download File
CSStorage.h 1841.1.6 14 years ago Barry.Leslie at PrimeBase Updating PBMS code to match pbms revision 244 7.3 KB Diff Download File
CSStream.cc 1891.2.1 14 years ago Monty Taylor Fixed things to make things compile with clang 13.3 KB Diff Download File
CSStream.h 1841.1.3 14 years ago Barry.Leslie at PrimeBase Merged changes from lp:pbms. These changes should 10.2 KB Diff Download File
CSString.cc 1841.1.3 14 years ago Barry.Leslie at PrimeBase Merged changes from lp:pbms. These changes should 10.3 KB Diff Download File
CSString.h 1841.1.3 14 years ago Barry.Leslie at PrimeBase Merged changes from lp:pbms. These changes should 6.1 KB Diff Download File
CSStrUtil.cc 1841.1.6 14 years ago Barry.Leslie at PrimeBase Updating PBMS code to match pbms revision 244 14.5 KB Diff Download File
CSStrUtil.h 1841.1.6 14 years ago Barry.Leslie at PrimeBase Updating PBMS code to match pbms revision 244 3.8 KB Diff Download File
CSSys.h 1841.1.6 14 years ago Barry.Leslie at PrimeBase Updating PBMS code to match pbms revision 244 3 KB Diff Download File
CSSys_unix.cc 1841.1.6 14 years ago Barry.Leslie at PrimeBase Updating PBMS code to match pbms revision 244 7.3 KB Diff Download File
CSSys_win.cc 1841.1.6 14 years ago Barry.Leslie at PrimeBase Updating PBMS code to match pbms revision 244 11.8 KB Diff Download File
CSThread.cc 1841.1.6 14 years ago Barry.Leslie at PrimeBase Updating PBMS code to match pbms revision 244 14 KB Diff Download File
CSThread.h 1841.1.5 14 years ago barry-leslie Fixed some compiler complaints with PBMS build. 9.1 KB Diff Download File
CSTime.cc 1841.1.3 14 years ago Barry.Leslie at PrimeBase Merged changes from lp:pbms. These changes should 6.5 KB Diff Download File
CSTime.h 1841.1.3 14 years ago Barry.Leslie at PrimeBase Merged changes from lp:pbms. These changes should 3 KB Diff Download File
CSUTF8.cc 1802.10.2 14 years ago Monty Taylor Update all of the copyright headers to include the 6.1 KB Diff Download File
CSUTF8.h 1802.10.2 14 years ago Monty Taylor Update all of the copyright headers to include the 1.7 KB Diff Download File
CSXML.cc 1841.1.3 14 years ago Barry.Leslie at PrimeBase Merged changes from lp:pbms. These changes should 45.1 KB Diff Download File
CSXML.h 1802.10.2 14 years ago Monty Taylor Update all of the copyright headers to include the 11.6 KB Diff Download File