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 | 7c4ceb739fa5c1b7d8f154487885516c658c5e3e (patch) | |
tree | c147866e7354c9989ccfbdb874f9e5be1fd7ed27 /mysys/my_os2dirsrch.c | |
parent | 2eecc377a6aee5bc87979f3ca98e1f1de7dd8e4d (diff) | |
download | mariadb-git-7c4ceb739fa5c1b7d8f154487885516c658c5e3e.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 'mysys/my_os2dirsrch.c')
0 files changed, 0 insertions, 0 deletions