1
0
mirror of https://github.com/MariaDB/server.git synced 2025-05-08 15:01:49 +03:00
Alexander Barkov d7bfc76dec Bug#43827 Server closes connections and restarts
Problem:
  Crash happened with a user-defined utf8 collation,
  on attempt to insert a value longer than the column
  to store.
Reason:
  The "ctype" member was not initialized (NULL) when
  allocating a user-defined utf8 collation, so an attempt
  to call my_ctype(cs, *str) to check if we loose any important
  data when truncating the value made the server crash.
Fix:
  Initializing tge "ctype" member to a proper value.


mysql-test/r/ctype_ldml.result
  Adding tests

mysql-test/t/ctype_ldml.test
  Adding tests

strings/ctype-uca.c
  Adding initialization of "ctype" member.

modified:
  mysql-test/r/ctype_ldml.result
  mysql-test/t/ctype_ldml.test
  strings/ctype-uca.c
2009-06-04 14:35:29 +05:00
..
2009-02-09 22:00:15 +01:00
2009-02-09 22:00:15 +01:00
2009-01-23 13:22:05 +01:00
2008-12-23 18:21:01 +04:00
2008-11-21 17:32:45 +04:00
2009-03-11 14:29:59 +02:00
2009-05-21 21:51:48 +04:00
2009-06-02 12:00:37 +05:00
2009-03-27 10:18:06 +08:00
2008-09-05 13:36:02 +05:00
2009-02-06 18:25:08 +01:00
2009-05-13 23:39:35 +05:00
2009-01-23 13:22:05 +01:00
2009-04-29 07:59:10 +05:00
2009-04-29 07:59:10 +05:00
2009-02-26 18:17:06 +01:00
2009-01-16 17:38:38 +02:00
2009-05-06 15:00:14 +05:30
2009-04-09 14:38:50 +05:00
2008-10-06 08:37:52 -04:00
2008-10-23 21:27:09 +02:00
2009-01-23 13:22:05 +01:00
2009-02-09 22:00:15 +01:00
2009-05-28 16:21:41 +05:00
2009-05-08 21:24:15 +04:00
2009-01-23 13:22:05 +01:00
2009-02-03 14:45:17 +01:00
2009-02-09 22:00:15 +01:00
2008-07-03 23:41:22 +04:00
2008-05-30 11:12:07 +02:00
2009-03-10 16:54:24 +01:00
2008-07-07 11:43:56 +03:00
2008-12-13 19:42:12 +00:00
2009-02-19 18:24:25 -05:00
2009-03-27 13:55:14 +01:00
2008-12-09 17:31:22 +04:00
2008-05-30 11:12:07 +02:00
2009-01-13 15:04:28 +01:00
2008-11-17 19:43:10 +04:00
2009-01-31 02:08:41 +01:00
2009-05-15 12:11:07 +05:00
2009-05-10 21:20:35 +05:00
2009-06-02 13:44:41 +05:30
2009-02-12 11:52:01 +02:00