can create indexes with TEMP_INDEX_PREFIX (which are invalid names)

Bug #652822 reported by Stewart Smith
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
HailDB
Fix Released
Low
Stewart Smith

Bug Description

The MySQL/Innobase fix is different, but is here:
------------------------------------------------------------
revno: 2072
revision-id: svn-v4:16c675df-0fcb-4bc9-8058-dcc011a37293:branches/zip:6949
parent: svn-v4:16c675df-0fcb-4bc9-8058-dcc011a37293:branches/zip:6925
committer: mmakela
timestamp: Tue 2010-04-06 12:11:46 +0000
message:
  branches/zip: Add debug checks to track down Issue #461.

  dict_table_check_for_dup_indexes(): Add the flag tmp_ok. If !tmp_ok,
  check that no index name starts with TEMP_INDEX_PREFIX.

  ha_innobase::add_index(), ha_innobase::prepare_drop_index(),
  ha_innobase::final_drop_index(): Call dict_table_check_for_dup_indexes().
modified:
  dict/dict0dict.c 2@16c675df-0fcb-4bc9-8058-dcc011a37293:trunk%2F
dict%2Fdict0dict.c
  handler/handler0alter.cc 1845@16c675df-0fcb-4bc9-8058-dcc011a37293:branc
hes%2Fzip%2Fhandler%2Fhandler0alter.cc
  include/dict0dict.h 2@16c675df-0fcb-4bc9-8058-dcc011a37293:trunk%2F
include%2Fdict0dict.h

Related branches

Stewart Smith (stewart)
Changed in haildb:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.