diff options
author | unknown <pem@mysql.comhem.se> | 2004-05-04 13:45:20 +0200 |
---|---|---|
committer | unknown <pem@mysql.comhem.se> | 2004-05-04 13:45:20 +0200 |
commit | 57029ca4cb7726f89a12718fbd1a3f5baedfbfa9 (patch) | |
tree | c147866e7354c9989ccfbdb874f9e5be1fd7ed27 /ndb/test/odbc/client/SQLFetchScrollTest.cpp | |
parent | 1ea5e5ba7d0ea8235aea0c30dd68700639c41082 (diff) | |
download | mariadb-git-57029ca4cb7726f89a12718fbd1a3f5baedfbfa9.tar.gz |
WL#1567: Add ROW_COUNT() Function to retrieve count of rows updated/inserted/deleted
mysql-test/r/sp.result:
New test cases for function ROW_COUNT().
mysql-test/t/sp.test:
New test cases for function ROW_COUNT().
sql/item_func.cc:
New Item_func_row_count.
sql/item_func.h:
New Item_func_row_count.
sql/lex.h:
New symbol for function ROW_COUNT().
sql/sql_class.h:
New slot in THD for storing the row_count after insert, delete and update.
sql/sql_delete.cc:
Set thd->row_count_func when deleting.
sql/sql_insert.cc:
Set thd->row_count_func when inserting.
sql/sql_parse.cc:
Stored procedure CALLs send the row count from the last insert, delete or update.
sql/sql_update.cc:
Set thd->row_count_func when updating.
sql/sql_yacc.yy:
New function ROW_COUNT().
Diffstat (limited to 'ndb/test/odbc/client/SQLFetchScrollTest.cpp')
0 files changed, 0 insertions, 0 deletions