diff options
author | unknown <heikki@hundin.mysql.fi> | 2004-11-30 19:56:25 +0200 |
---|---|---|
committer | unknown <heikki@hundin.mysql.fi> | 2004-11-30 19:56:25 +0200 |
commit | f299ff85b5c46d3cc81c668ee750fe257f138633 (patch) | |
tree | 79653e4f716f3ded4ba08fc30a24839026fc7485 /innobase | |
parent | 409debfa14baf9a493edc9dd45364a7334d492f6 (diff) | |
download | mariadb-git-f299ff85b5c46d3cc81c668ee750fe257f138633.tar.gz |
row0mysql.h, ha_innodb.cc:
Sergey Petrunia's ROR code fails to tell handlers that they should retrieve the primary key columns; let InnoDB ALWAYS retrieve them, to fix many bugs and potential bugs
sql/ha_innodb.cc:
Sergey Petrunia's ROR code fails to tell handlers that they should retrieve the primary key columns; let InnoDB ALWAYS retrieve them, to fix many bugs and potential bugs
innobase/include/row0mysql.h:
Sergey Petrunia's ROR code fails to tell handlers that they should retrieve the primary key columns; let InnoDB ALWAYS retrieve them, to fix many bugs and potential bugs
Diffstat (limited to 'innobase')
-rw-r--r-- | innobase/include/row0mysql.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/innobase/include/row0mysql.h b/innobase/include/row0mysql.h index d4634482752..ce86efa2fc7 100644 --- a/innobase/include/row0mysql.h +++ b/innobase/include/row0mysql.h @@ -547,7 +547,10 @@ struct row_prebuilt_struct { format */ ulint hint_need_to_fetch_extra_cols; /* normally this is set to 0; if this - is set to ROW_RETRIEVE_PRIMARY_KEY, + is set to ROW_RETRIEVE_PRIMARY_KEY + (that value is obsolete starting from + 5.0.2, because we always fetch the + primary key cols), then we should at least retrieve all columns in the primary key; if this is set to ROW_RETRIEVE_ALL_COLS, then @@ -620,6 +623,9 @@ struct row_prebuilt_struct { /* Values for hint_need_to_fetch_extra_cols */ #define ROW_RETRIEVE_PRIMARY_KEY 1 + /* value 1 is obsolete starting from + 5.0.2, because we always fetch the + primary key cols */ #define ROW_RETRIEVE_ALL_COLS 2 |