diff options
author | unknown <monty@donna.mysql.fi> | 2001-04-12 00:54:35 +0300 |
---|---|---|
committer | unknown <monty@donna.mysql.fi> | 2001-04-12 00:54:35 +0300 |
commit | 65575f94d1dad0d130f3180e5bafa71eb6be1bcd (patch) | |
tree | 24233cf112742394baadb954377539515a28de33 /sql/sql_class.h | |
parent | 8dd2e5b8d93d79965e833e3b979675240478c591 (diff) | |
download | mariadb-git-65575f94d1dad0d130f3180e5bafa71eb6be1bcd.tar.gz |
Added SQL_CALC_FOUND_ROWS and FOUND_ROWS()
myisam/ft_boolean_search.c:
Cleanup
myisam/ft_parser.c:
Cleanup
myisam/ft_update.c:
Cleanup
myisam/sort.c:
Cleanup
BitKeeper/etc/logging_ok:
Logging to logging@openlogging.org accepted
Diffstat (limited to 'sql/sql_class.h')
-rw-r--r-- | sql/sql_class.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sql/sql_class.h b/sql/sql_class.h index 297b6acbad5..ef6dc97cae6 100644 --- a/sql/sql_class.h +++ b/sql/sql_class.h @@ -263,7 +263,7 @@ public: Vio* active_vio; pthread_mutex_t active_vio_lock; #endif - ulonglong next_insert_id,last_insert_id,current_insert_id; + ulonglong next_insert_id,last_insert_id,current_insert_id, limit_found_rows; ha_rows select_limit,offset_limit,default_select_limit,cuted_fields, max_join_size,sent_row_count; table_map used_tables; @@ -353,6 +353,10 @@ public: } return last_insert_id; } + inline ulonglong found_rows(void) + { + return limit_found_rows; + } inline bool active_transaction() { #ifdef USING_TRANSACTIONS |