summaryrefslogtreecommitdiff
path: root/sql/item_row.cc
diff options
context:
space:
mode:
authorunknown <bell@sanja.is.com.ua>2002-11-29 12:30:04 +0200
committerunknown <bell@sanja.is.com.ua>2002-11-29 12:30:04 +0200
commit042c34d86dad7f37ff39345f6716c2f25ffeab53 (patch)
tree149db652e4b38984a7f819d9ba21f2e79c669ae5 /sql/item_row.cc
parent5b62dfcdf51a695ebc724cb453919eb909ca274f (diff)
downloadmariadb-git-042c34d86dad7f37ff39345f6716c2f25ffeab53.tar.gz
checking columns of top items
mysql-test/r/row_test.result: changed error message (report requestet columns number) new tests mysql-test/t/row_test.test: new tests sql/item.h: checking columns of wrapper items
Diffstat (limited to 'sql/item_row.cc')
-rw-r--r--sql/item_row.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/item_row.cc b/sql/item_row.cc
index 95da4f5901e..464a8fd0ec5 100644
--- a/sql/item_row.cc
+++ b/sql/item_row.cc
@@ -59,7 +59,7 @@ bool Item_row::check_cols(uint c)
{
if (c != arg_count)
{
- my_error(ER_CARDINALITY_COL, MYF(0), arg_count);
+ my_error(ER_CARDINALITY_COL, MYF(0), c);
return 1;
}
return 0;