quickstep-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nav...@apache.org
Subject [3/4] incubator-quickstep git commit: Make the error message a little clearer
Date Sun, 04 Sep 2016 03:50:39 GMT
Make the error message a little clearer


Project: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/commit/bb4fd999
Tree: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/tree/bb4fd999
Diff: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/diff/bb4fd999

Branch: refs/heads/col_vec_opt
Commit: bb4fd99996a26b08051b4efed2e85b7d38e25494
Parents: eeaa9b0
Author: Navneet Potti <navsan@gmail.com>
Authored: Sat Sep 3 22:50:07 2016 -0500
Committer: Navneet Potti <navsan@gmail.com>
Committed: Sat Sep 3 22:50:07 2016 -0500

----------------------------------------------------------------------
 storage/TupleStorageSubBlock.hpp | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-quickstep/blob/bb4fd999/storage/TupleStorageSubBlock.hpp
----------------------------------------------------------------------
diff --git a/storage/TupleStorageSubBlock.hpp b/storage/TupleStorageSubBlock.hpp
index 47560fa..68eba99 100644
--- a/storage/TupleStorageSubBlock.hpp
+++ b/storage/TupleStorageSubBlock.hpp
@@ -304,7 +304,8 @@ class TupleStorageSubBlock {
       const std::vector<attribute_id> &attribute_map,
       ValueAccessor *accessor,
       const tuple_id max_num_tuples_to_insert) {
-    FATAL_ERROR("Partial bulk insert is not supported for this TupleStorageBlock type.");
+    FATAL_ERROR("Partial bulk insert is not supported for this TupleStorageBlock type ("
+                << getTupleStorageSubBlockType() << ").");
   };
 
   /**
@@ -319,7 +320,8 @@ class TupleStorageSubBlock {
    **/
   virtual void bulkInsertPartialTuplesFinalize(
       const tuple_id num_tuples_inserted) {
-    FATAL_ERROR("Partial bulk insert is not supported for this TupleStorageBlock type.");
+    FATAL_ERROR("Partial bulk insert is not supported for this TupleStorageBlock type ("
+                << getTupleStorageSubBlockType() << ").");
   };
   
   /**


Mime
View raw message