~ubuntu-branches/ubuntu/precise/mysql-5.5/precise-201203300109

« back to all changes in this revision

Viewing changes to storage/innobase/dict/dict0dict.c

  • Committer: Package Import Robot
  • Author(s): Clint Byrum
  • Date: 2012-02-14 23:59:22 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20120214235922-cux5uek1e5l0hje9
Tags: 5.5.20-0ubuntu1
* New upstream release.
* d/mysql-server-5.5.mysql.upstart: Fix stop on to make sure mysql is
  fully stopped before shutdown commences. (LP: #688541) Also simplify
  start on as it is redundant.
* d/control: Depend on upstart version which has apparmor profile load
  script to prevent failure on upgrade from lucid to precise.
  (LP: #907465)
* d/apparmor-profile: need to allow /run since that is the true path
  of /var/run files. (LP: #917542)
* d/control: mysql-server-5.5 has files in it that used to be owned
  by libmysqlclient-dev, so it must break/replace it. (LP: #912487)
* d/rules, d/control: 5.5.20 Fixes segfault on tests with gcc 4.6,
  change compiler back to system default.
* d/rules: Turn off embedded libedit/readline.(Closes: #659566)

Show diffs side-by-side

added added

removed removed

Lines of Context:
911
911
        dict_table_t*   table;
912
912
        dict_index_t*   index;
913
913
 
 
914
        /* This can happen if the system tablespace is the wrong page size */
 
915
        if (dict_sys == NULL) {
 
916
                return(NULL);
 
917
        }
 
918
 
914
919
        table = UT_LIST_GET_FIRST(dict_sys->table_LRU);
915
920
 
916
921
        while (table) {
3069
3074
                memcpy(ref, database_name, database_name_len);
3070
3075
                ref[database_name_len] = '/';
3071
3076
                memcpy(ref + database_name_len + 1, table_name, table_name_len + 1);
 
3077
 
3072
3078
        } else {
 
3079
#ifndef __WIN__
3073
3080
                if (innobase_get_lower_case_table_names() == 1) {
3074
3081
                        innobase_casedn_str(ref);
3075
3082
                }
 
3083
#else
 
3084
                innobase_casedn_str(ref);
 
3085
#endif /* !__WIN__ */
3076
3086
                *table = dict_table_get_low(ref);
3077
3087
        }
3078
3088