diff options
author | Sergei Golubchik <serg@mariadb.org> | 2015-12-13 10:11:49 +0100 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2015-12-13 10:11:49 +0100 |
commit | e9eaaa4b4acdb8a72308953e30b39bc663c98d2b (patch) | |
tree | 75c25a12ac37dab82fa9b65218a66640006ece24 /storage/innobase/btr/btr0cur.cc | |
parent | 86ff4da14dc53659e88ee8cd66412045dcb26e31 (diff) | |
download | mariadb-git-e9eaaa4b4acdb8a72308953e30b39bc663c98d2b.tar.gz |
5.6.28
Diffstat (limited to 'storage/innobase/btr/btr0cur.cc')
-rw-r--r-- | storage/innobase/btr/btr0cur.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/storage/innobase/btr/btr0cur.cc b/storage/innobase/btr/btr0cur.cc index ad323531da6..1e4c31723db 100644 --- a/storage/innobase/btr/btr0cur.cc +++ b/storage/innobase/btr/btr0cur.cc @@ -1604,6 +1604,10 @@ btr_cur_pessimistic_insert( flags, cursor, offsets, heap, entry, n_ext, mtr); } + if (*rec == NULL && os_has_said_disk_full) { + return(DB_OUT_OF_FILE_SPACE); + } + ut_ad(page_rec_get_next(btr_cur_get_rec(cursor)) == *rec); if (!(flags & BTR_NO_LOCKING_FLAG)) { |