1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

INSERT ... UPDATE ... VALUES()

This commit is contained in:
unknown
2003-05-03 01:16:56 +02:00
parent a20b167cae
commit b33115ecf9
19 changed files with 166 additions and 67 deletions

View File

@ -65,7 +65,9 @@ struct st_table {
Field **field; /* Pointer to fields */
Field_blob **blob_field; /* Pointer to blob fields */
HASH name_hash; /* hash of field names */
byte *record[3]; /* Pointer to records */
byte *record[2]; /* Pointer to records */
byte *default_values; /* record with default values for INSERT */
byte *insert_values; /* used by INSERT ... UPDATE */
uint fields; /* field count */
uint reclength; /* Recordlength */
uint rec_buff_length;
@ -144,10 +146,9 @@ struct st_table {
struct st_table_list *pos_in_table_list;
};
/* number of select if it is derived table */
uint derived_select_number;
uint derived_select_number;
THD *in_use; /* Which thread uses this */
struct st_table *next,*prev;
byte *default_values() { return record[2]; }
};