diff options
author | unknown <bell@sanja.is.com.ua> | 2002-11-29 12:30:04 +0200 |
---|---|---|
committer | unknown <bell@sanja.is.com.ua> | 2002-11-29 12:30:04 +0200 |
commit | 042c34d86dad7f37ff39345f6716c2f25ffeab53 (patch) | |
tree | 149db652e4b38984a7f819d9ba21f2e79c669ae5 /sql/item_row.cc | |
parent | 5b62dfcdf51a695ebc724cb453919eb909ca274f (diff) | |
download | mariadb-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.cc | 2 |
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; |