~ubuntu-branches/ubuntu/utopic/mysql-5.5/utopic-security

« back to all changes in this revision

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

  • Committer: Package Import Robot
  • Author(s): Marc Deslauriers
  • Date: 2013-10-24 13:02:18 UTC
  • mfrom: (1.1.14)
  • Revision ID: package-import@ubuntu.com-20131024130218-kmsafm2gr2fza5k6
Tags: 5.5.34-0ubuntu1
* SECURITY UPDATE: Update to 5.5.34 to fix security issues (LP: #1243253)
  - http://www.oracle.com/technetwork/topics/security/cpuoct2013-1899837.html
  - CVE-2013-3839
  - CVE-2013-5807

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
12
12
 
13
13
You should have received a copy of the GNU General Public License along with
14
 
this program; if not, write to the Free Software Foundation, Inc., 59 Temple
15
 
Place, Suite 330, Boston, MA 02111-1307 USA
 
14
this program; if not, write to the Free Software Foundation, Inc., 
 
15
51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
16
16
 
17
17
*****************************************************************************/
18
18
 
378
378
 
379
379
        sys_indexes = dict_sys->sys_indexes;
380
380
 
381
 
        table = dict_table_get_low(index->table_name);
 
381
        table = dict_table_get_low(index->table_name, DICT_ERR_IGNORE_NONE);
382
382
 
383
383
        entry = dtuple_create(heap, 7 + DATA_N_SYS_COLS);
384
384
 
580
580
 
581
581
        index = node->index;
582
582
 
583
 
        table = dict_table_get_low(index->table_name);
 
583
        table = dict_table_get_low(index->table_name, DICT_ERR_IGNORE_NONE);
584
584
 
585
585
        if (table == NULL) {
586
586
                return(DB_TABLE_NOT_FOUND);
1215
1215
 
1216
1216
        mutex_enter(&(dict_sys->mutex));
1217
1217
 
1218
 
        table1 = dict_table_get_low("SYS_FOREIGN");
1219
 
        table2 = dict_table_get_low("SYS_FOREIGN_COLS");
 
1218
        table1 = dict_table_get_low("SYS_FOREIGN", DICT_ERR_IGNORE_NONE);
 
1219
        table2 = dict_table_get_low("SYS_FOREIGN_COLS", DICT_ERR_IGNORE_NONE);
1220
1220
 
1221
1221
        if (table1 && table2
1222
1222
            && UT_LIST_GET_LEN(table1->indexes) == 3
1546
1546
 
1547
1547
        ut_ad(mutex_own(&(dict_sys->mutex)));
1548
1548
 
1549
 
        if (NULL == dict_table_get_low("SYS_FOREIGN")) {
 
1549
        if (NULL == dict_table_get_low("SYS_FOREIGN", DICT_ERR_IGNORE_NONE)) {
1550
1550
                fprintf(stderr,
1551
1551
                        "InnoDB: table SYS_FOREIGN not found"
1552
1552
                        " in internal data dictionary\n");