diff options
author | aelkin/andrei@mysql1000.(none) <> | 2008-03-29 15:00:12 +0200 |
---|---|---|
committer | aelkin/andrei@mysql1000.(none) <> | 2008-03-29 15:00:12 +0200 |
commit | d3d0a00635856063df1a60ac5c1fceaf23af46cb (patch) | |
tree | b69f6a865d08077895e9ab32d8392e140da59380 /storage/blackhole | |
parent | 22536fc53eae41e27847e815878830366d5bcdcf (diff) | |
parent | 68fc98bdb3f0a02c61eba23e8588da05c04ece8d (diff) | |
download | mariadb-git-d3d0a00635856063df1a60ac5c1fceaf23af46cb.tar.gz |
Merge mysql1000.(none):/home/andrei/MySQL/MERGE/5.0-main2rpl
into mysql1000.(none):/home/andrei/MySQL/MERGE/5.1-main2rpl
Diffstat (limited to 'storage/blackhole')
-rw-r--r-- | storage/blackhole/ha_blackhole.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/blackhole/ha_blackhole.cc b/storage/blackhole/ha_blackhole.cc index 4e12e9f0ee7..85b8117e501 100644 --- a/storage/blackhole/ha_blackhole.cc +++ b/storage/blackhole/ha_blackhole.cc @@ -97,7 +97,7 @@ const char *ha_blackhole::index_type(uint key_number) int ha_blackhole::write_row(uchar * buf) { DBUG_ENTER("ha_blackhole::write_row"); - DBUG_RETURN(0); + DBUG_RETURN(table->next_number_field ? update_auto_increment() : 0); } int ha_blackhole::rnd_init(bool scan) |