• unknown's avatar
    Applied InnoDB snapshot 5.1-ss927 · a0f9b0b9
    unknown authored
    Fixes:
    - Bug #23368: crash during insert, table has foreign key pointing into other schema,permission
    
    
    storage/innobase/dict/dict0dict.c:
      Applied InnoDB snapshot 5.1-ss927
      
      Revision r927:
      dict_print_info_on_foreign_key_in_create_format(): Use ut_print_name()
      instead of passing the wrong length to ut_print_namel().  (Bug #23368)
      
      ut_print_name(), ut_print_namel(): Document the special treatment of '/'.
      
      ut_print_namel(): Replace strchr() with memchr(), as the string might
      not be NUL-terminated.
    storage/innobase/include/ut0ut.h:
      Applied InnoDB snapshot 5.1-ss927
      
      Revision r927:
      dict_print_info_on_foreign_key_in_create_format(): Use ut_print_name()
      instead of passing the wrong length to ut_print_namel().  (Bug #23368)
      
      ut_print_name(), ut_print_namel(): Document the special treatment of '/'.
      
      ut_print_namel(): Replace strchr() with memchr(), as the string might
      not be NUL-terminated.
    storage/innobase/ut/ut0ut.c:
      Applied InnoDB snapshot 5.1-ss927
      
      Revision r927:
      dict_print_info_on_foreign_key_in_create_format(): Use ut_print_name()
      instead of passing the wrong length to ut_print_namel().  (Bug #23368)
      
      ut_print_name(), ut_print_namel(): Document the special treatment of '/'.
      
      ut_print_namel(): Replace strchr() with memchr(), as the string might
      not be NUL-terminated.
    a0f9b0b9
ut0ut.c 10 KB