1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-30 11:22:14 +03:00
Files
mariadb/sql
Ramil Kalimullin c9e1884cd6 Fix for bug#19829:make test Failed in mysql_client_test
*with --with-charset=utf8*

Problem: wrong LONG TEXT field length is sent to a client 
when multibyte server character set used.

Fix: always limit field length sent to a client to 2^32,
as we store it in 4 byte slot.

Note: mysql_client_test changed accordingly.


sql/protocol.cc:
  Fix for bug#19829:make test Failed in mysql_client_test 
  *with --with-charset=utf8*
    - limit field length sent to client to UINT_MAX32 as 
      it may exceeds 32 bit slot for LONG TEXT fields if
      thd_charset->mbmaxlen > 1.
tests/mysql_client_test.c:
  Fix for bug#19829:make test Failed in mysql_client_test
  *with --with-charset=utf8*
    - checking field members have in mind that field length
      is limited to UINT_MAX32.
2009-02-26 12:34:15 +04:00
..
2006-12-31 01:02:27 +01:00
2006-12-31 01:02:27 +01:00
2006-12-31 01:02:27 +01:00
2006-12-31 01:02:27 +01:00
2006-12-31 01:02:27 +01:00
2007-07-12 00:55:40 +05:00
2006-12-31 01:02:27 +01:00
2007-01-31 00:06:42 +01:00
2006-12-31 01:02:27 +01:00
2009-02-24 15:22:37 +04:00
2007-11-05 20:18:22 +01:00
2006-12-31 01:02:27 +01:00
2006-12-31 01:02:27 +01:00
2006-12-31 01:02:27 +01:00
2006-12-31 01:02:27 +01:00
2008-12-12 14:59:10 +04:00
2008-04-10 15:55:37 -04:00
2009-01-16 16:48:41 +02:00
2006-12-23 20:17:15 +01:00
2009-02-06 18:25:08 +01:00
2006-12-31 01:02:27 +01:00
2006-12-31 01:02:27 +01:00
2009-02-20 11:42:35 +02:00
2008-03-29 17:50:46 +02:00
2006-12-31 01:02:27 +01:00
2006-12-31 01:02:27 +01:00
2006-12-31 01:02:27 +01:00
2006-12-23 20:17:15 +01:00
2008-12-22 23:28:08 +03:00
2009-01-14 11:15:11 -05:00
2006-12-31 01:02:27 +01:00
2008-03-18 16:38:12 +04:00
2006-12-31 01:02:27 +01:00
2006-12-23 20:17:15 +01:00
2006-12-23 20:17:15 +01:00
2008-10-02 13:10:06 +05:00
2008-01-23 13:26:41 -07:00
2006-12-23 20:17:15 +01:00
2007-07-05 18:24:48 +03:00
2008-12-24 18:45:47 +04:00
2006-12-23 20:17:15 +01:00
2006-12-31 01:02:27 +01:00
2006-12-31 01:02:27 +01:00
2006-12-31 01:02:27 +01:00
2006-12-31 01:02:27 +01:00
2006-12-31 01:02:27 +01:00
2006-12-31 01:02:27 +01:00
2006-12-31 01:02:27 +01:00
2006-12-31 01:02:27 +01:00
2006-12-31 01:02:27 +01:00
2006-12-31 01:02:27 +01:00
2007-07-01 15:33:28 -07:00
2006-12-23 20:17:15 +01:00
2009-02-14 12:09:35 +03:00
2006-12-31 01:02:27 +01:00
2008-09-16 13:16:41 +02:00
2007-03-22 20:32:07 +02:00
2006-12-23 20:17:15 +01:00
2007-07-01 15:33:28 -07:00
2009-01-14 11:15:11 -05:00