summaryrefslogtreecommitdiff
path: root/sql/handler.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/handler.cc')
-rw-r--r--sql/handler.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/sql/handler.cc b/sql/handler.cc
index b6b09ceca91..5dae7950390 100644
--- a/sql/handler.cc
+++ b/sql/handler.cc
@@ -786,8 +786,9 @@ int ha_start_consistent_snapshot(THD *thd)
Same idea as when one wants to CREATE TABLE in one engine which does not
exist:
*/
- push_warning(thd, MYSQL_ERROR::WARN_LEVEL_WARN,
- ER_NO_CONS_READ_ENGINE, ER(ER_NO_CONS_READ_ENGINE));
+ push_warning(thd, MYSQL_ERROR::WARN_LEVEL_WARN, ER_UNKNOWN_ERROR,
+ "This MySQL server does not support any "
+ "consistent-read capable storage engine");
return 0;
}