diff options
author | unknown <monty@narttu.mysql.fi> | 2008-05-29 21:39:25 +0300 |
---|---|---|
committer | unknown <monty@narttu.mysql.fi> | 2008-05-29 21:39:25 +0300 |
commit | f83bd712ae864ed2fa2271247e56fc1f444c9801 (patch) | |
tree | d7dd11206d6de4fc93a1a73a66f7a15f32bb92d3 /sql/ha_partition.cc | |
parent | 5ca17f0dc6235f03d9cbfcae087ac41d57fa4940 (diff) | |
parent | 5099033c26826fd2625b6424134999853e33a29d (diff) | |
download | mariadb-git-f83bd712ae864ed2fa2271247e56fc1f444c9801.tar.gz |
Merge bk-internal.mysql.com:/home/bk/mysql-maria
into mysql.com:/home/my/mysql-maria
mysql-test/r/maria.result:
Auto merged
mysql-test/suite/ndb/r/ndb_auto_increment.result:
Auto merged
mysql-test/t/maria.test:
Auto merged
mysys/hash.c:
Auto merged
mysys/thr_lock.c:
Auto merged
sql/field.cc:
Auto merged
sql/ha_ndbcluster.cc:
Auto merged
sql/ha_ndbcluster.h:
Auto merged
sql/ha_partition.cc:
Auto merged
sql/ha_partition.h:
Auto merged
sql/handler.cc:
Auto merged
sql/handler.h:
Auto merged
sql/log_event.cc:
Auto merged
sql/log_event_old.cc:
Auto merged
sql/mysqld.cc:
Auto merged
sql/protocol.cc:
Auto merged
sql/sql_load.cc:
Auto merged
sql/sql_parse.cc:
Auto merged
sql/sql_select.cc:
Auto merged
sql/sql_table.cc:
Auto merged
sql/sql_yacc.yy:
Auto merged
storage/csv/ha_tina.cc:
Auto merged
storage/federated/ha_federated.cc:
Auto merged
storage/maria/Makefile.am:
Auto merged
storage/maria/ma_check.c:
Auto merged
storage/maria/ma_control_file.c:
Auto merged
storage/maria/ma_delete_all.c:
Auto merged
storage/maria/ma_dynrec.c:
Auto merged
storage/maria/ma_init.c:
Auto merged
storage/maria/ma_key_recover.c:
Auto merged
storage/maria/ma_open.c:
Auto merged
storage/maria/ma_page.c:
Auto merged
storage/maria/ma_range.c:
Auto merged
storage/maria/ma_recovery.c:
Auto merged
storage/maria/ma_test1.c:
Auto merged
storage/maria/maria_read_log.c:
Auto merged
storage/maria/unittest/ma_test_all-t:
Auto merged
storage/maria/unittest/ma_test_loghandler_multigroup-t.c:
Auto merged
storage/maria/unittest/ma_test_recovery.pl:
Auto merged
storage/myisam/ha_myisam.cc:
Auto merged
storage/myisam/myisamdef.h:
Auto merged
include/my_base.h:
Manual merge where error code are kept same as in 5.1
mysys/my_handler.c:
No changes
sql/item.cc:
Manual merge
sql/sql_class.cc:
Manual merge
sql/sql_insert.cc:
Manual merge
storage/maria/ha_maria.cc:
Manual merge
storage/maria/ma_blockrec.c:
Manual merge
storage/maria/ma_delete.c:
Manual merge
storage/maria/ma_write.c:
Manual merge
Diffstat (limited to 'sql/ha_partition.cc')
-rw-r--r-- | sql/ha_partition.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sql/ha_partition.cc b/sql/ha_partition.cc index 3045d5d73a9..c90f82d24a1 100644 --- a/sql/ha_partition.cc +++ b/sql/ha_partition.cc @@ -3025,13 +3025,14 @@ void ha_partition::start_bulk_insert(ha_rows rows) SYNOPSIS end_bulk_insert() + abort 1 if table will be deleted (error condition) RETURN VALUE >0 Error code 0 Success */ -int ha_partition::end_bulk_insert() +int ha_partition::end_bulk_insert(bool abort) { int error= 0; handler **file; @@ -3041,7 +3042,7 @@ int ha_partition::end_bulk_insert() do { int tmp; - if ((tmp= (*file)->ha_end_bulk_insert())) + if ((tmp= (*file)->ha_end_bulk_insert(abort))) error= tmp; } while (*(++file)); DBUG_RETURN(error); |