summaryrefslogtreecommitdiff
path: root/odb/relational/mysql/schema.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/relational/mysql/schema.cxx')
-rw-r--r--odb/relational/mysql/schema.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/odb/relational/mysql/schema.cxx b/odb/relational/mysql/schema.cxx
index 4a7171f..8b31563 100644
--- a/odb/relational/mysql/schema.cxx
+++ b/odb/relational/mysql/schema.cxx
@@ -89,7 +89,7 @@ namespace relational
<< "enumerator must map to MySQL ENUM or integer type"
<< endl;
- throw generation_failed ();
+ throw operation_failed ();
}
}
@@ -124,7 +124,7 @@ namespace relational
<< ": error: unable to map C++ enumerator '" << name
<< "' to MySQL ENUM value" << endl;
- throw generation_failed ();
+ throw operation_failed ();
}
}
else