diff options
author | unknown <monty@mashka.mysql.fi> | 2003-07-01 15:57:45 +0300 |
---|---|---|
committer | unknown <monty@mashka.mysql.fi> | 2003-07-01 15:57:45 +0300 |
commit | c672b5d04b4828a194df6e1a99c8454b07dc2400 (patch) | |
tree | eeea6a24bfdcb6f6e2e163c4da948e52544e90de /sql/sql_class.h | |
parent | da25c0337a596c8300af69b2f4e53c3cee526bc5 (diff) | |
parent | 14c8a0e536b6326a4ba759ba30377e8a9654b513 (diff) | |
download | mariadb-git-c672b5d04b4828a194df6e1a99c8454b07dc2400.tar.gz |
merge
acinclude.m4:
Auto merged
mysql-test/r/subselect.result:
Auto merged
scripts/mysql_create_system_tables.sh:
Auto merged
sql/sql_class.h:
Auto merged
sql/sql_yacc.yy:
Auto merged
Diffstat (limited to 'sql/sql_class.h')
-rw-r--r-- | sql/sql_class.h | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/sql/sql_class.h b/sql/sql_class.h index ccfe2555518..f6336cb7dd9 100644 --- a/sql/sql_class.h +++ b/sql/sql_class.h @@ -503,8 +503,23 @@ public: #ifdef SIGNAL_WITH_VIO_CLOSE Vio* active_vio; #endif - ulonglong next_insert_id,last_insert_id,current_insert_id, - limit_found_rows; + /* + next_insert_id is set on SET INSERT_ID= #. This is used as the next + generated auto_increment value in handler.cc + */ + ulonglong next_insert_id; + /* + The insert_id used for the last statement or set by SET LAST_INSERT_ID=# + or SELECT LAST_INSERT_ID(#). Used for binary log and returned by + LAST_INSERT_ID() + */ + ulonglong last_insert_id; + /* + Set to the first value that LAST_INSERT_ID() returned for the last + statement. When this is set, last_insert_id_used is set to true. + */ + ulonglong current_insert_id; + ulonglong limit_found_rows; ha_rows select_limit, offset_limit, cuted_fields, sent_row_count, examined_row_count; table_map used_tables; |