From c86cf57171cff9c10d3c555c74e381d8e87352a7 Mon Sep 17 00:00:00 2001
From: Lovro Lugovic <lovro.lugovic@memgraph.io>
Date: Thu, 17 Jan 2019 13:26:55 +0100
Subject: [PATCH] Fix `IndexInMulticommandTxException` error message

Reviewers: mtomic, teon.banek

Reviewed By: mtomic

Subscribers: pullbot

Differential Revision: https://phabricator.memgraph.io/D1817
---
 src/query/exceptions.hpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/query/exceptions.hpp b/src/query/exceptions.hpp
index f0fe029d9..4511137af 100644
--- a/src/query/exceptions.hpp
+++ b/src/query/exceptions.hpp
@@ -81,7 +81,7 @@ class IndexInMulticommandTxException : public QueryException {
   using QueryException::QueryException;
   IndexInMulticommandTxException()
       : QueryException(
-            "CREATE INDEX not allowed in multicommand transactions.") {}
+            "Index manipulation not allowed in multicommand transactions.") {}
 };
 
 /**