summaryrefslogtreecommitdiff
path: root/innobase
diff options
context:
space:
mode:
authorunknown <evgen@moonbone.local>2007-11-19 21:05:17 +0000
committerunknown <evgen@moonbone.local>2007-11-19 21:05:17 +0000
commit4addb6b71777706f4050163c66f3c1d9dc896cfe (patch)
treee491d9430a856a5de8c0b2265dbb2f15f1887617 /innobase
parent6a8e10d2ce64e506a5c58ef3b58178105f4b5973 (diff)
downloadmariadb-git-4addb6b71777706f4050163c66f3c1d9dc896cfe.tar.gz
Bug#30384: Having SQL_BUFFER_RESULT option in the CREATE .. KEY(..) .. SELECT
led to creating corrupted index. Corrected fix. The new method called prepare2 is added to the select_create class. As all preparations are done by the select_create::prepare function it doesn't do anything. Slightly changed algorithm of calling the start_bulk_insert function. Now it's called from the select_insert::prepare2 function when the SQL_BUFFER_RESULT flags is set. The is_bulk_insert_mode flag is removed as it is not needed anymore. sql/sql_class.h: Bug#30384: Having SQL_BUFFER_RESULT option in the CREATE .. KEY(..) .. SELECT led to creating corrupted index. Corrected fix. The new method called prepare2 is added to the select_create class. As all preparetions are done by the select_create::prepare function it doesn't do anything. The is_bulk_insert_mode flag is removed as it is not needed anymore. sql/sql_insert.cc: Bug#30384: Having SQL_BUFFER_RESULT option in the CREATE .. KEY(..) .. SELECT led to creating corrupted index. Slightly changed algorithm of calling the start_bulk_insert function. Now it's called from the select_insert::prepare2 function when the SQL_BUFFER_RESULT flags is set. Corrected fix. The is_bulk_insert_mode flag is removed as it is not needed anymore.
Diffstat (limited to 'innobase')
0 files changed, 0 insertions, 0 deletions