summaryrefslogtreecommitdiff
path: root/sql/item_row.cc
diff options
context:
space:
mode:
authorbell@laptop.sanja.is.com.ua <>2003-10-06 22:35:05 +0300
committerbell@laptop.sanja.is.com.ua <>2003-10-06 22:35:05 +0300
commite527f268d5932412037343a5eb7d095b891167ec (patch)
treea4cf6b026a7c82e8f8e8457dbd0a7d16a2fd645b /sql/item_row.cc
parentba26a1aa64ac6594c3442d5dcc19a16aaac166a8 (diff)
downloadmariadb-git-e527f268d5932412037343a5eb7d095b891167ec.tar.gz
fixed error names
Diffstat (limited to 'sql/item_row.cc')
-rw-r--r--sql/item_row.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/item_row.cc b/sql/item_row.cc
index 43e38763aa6..fcc6e5192ec 100644
--- a/sql/item_row.cc
+++ b/sql/item_row.cc
@@ -49,7 +49,7 @@ void Item_row::illegal_method_call(const char *method)
DBUG_ENTER("Item_row::illegal_method_call");
DBUG_PRINT("error", ("!!! %s method was called for row item", method));
DBUG_ASSERT(0);
- my_error(ER_CARDINALITY_COL, MYF(0), 1);
+ my_error(ER_OPERAND_COLUMNS, MYF(0), 1);
DBUG_VOID_RETURN;
}
@@ -112,7 +112,7 @@ bool Item_row::check_cols(uint c)
{
if (c != arg_count)
{
- my_error(ER_CARDINALITY_COL, MYF(0), c);
+ my_error(ER_OPERAND_COLUMNS, MYF(0), c);
return 1;
}
return 0;