diff options
| author | Konstantin Osipov <kostja@sun.com> | 2010-08-12 17:50:23 +0400 |
|---|---|---|
| committer | Konstantin Osipov <kostja@sun.com> | 2010-08-12 17:50:23 +0400 |
| commit | 8673d2b20fe3cb1353f7b9b157e72dbf45382a48 (patch) | |
| tree | 9e8417877eab9778cb09f99e71c11401e7749bbc /sql/sql_insert.cc | |
| parent | 65d118b1a4cb3cb4d75226b9280ee80b0d644f70 (diff) | |
| parent | 5fff906edd3d7a5d999cec5403f009f33f8dfb81 (diff) | |
| download | mariadb-git-8673d2b20fe3cb1353f7b9b157e72dbf45382a48.tar.gz | |
Commit on behalf of Dmitry Lenev.
Merge his patch for Bug#52044 into 5.5, and apply
review comments.
Diffstat (limited to 'sql/sql_insert.cc')
| -rw-r--r-- | sql/sql_insert.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_insert.cc b/sql/sql_insert.cc index ce4535307c8..ce9de4d2edf 100644 --- a/sql/sql_insert.cc +++ b/sql/sql_insert.cc @@ -2705,7 +2705,7 @@ bool Delayed_insert::handle_inserts(void) thd_proc_info(&thd, "insert"); max_rows= delayed_insert_limit; - if (thd.killed || table->s->needs_reopen()) + if (thd.killed || table->s->has_old_version()) { thd.killed= THD::KILL_CONNECTION; max_rows= ULONG_MAX; // Do as much as possible |
