diff options
author | sergefp@mysql.com <> | 2005-04-18 05:21:44 +0400 |
---|---|---|
committer | sergefp@mysql.com <> | 2005-04-18 05:21:44 +0400 |
commit | a76ecc5bc78365a2ecdf1f96d9c238d5ecbe30c4 (patch) | |
tree | 666579fabdd2725c17ffedc83d49cbd6276c1daf /sql/sql_select.h | |
parent | 39f412d32950062a8a7cba2d32e1d8556e3b56ee (diff) | |
download | mariadb-git-a76ecc5bc78365a2ecdf1f96d9c238d5ecbe30c4.tar.gz |
Fix for BUG#9103:
Don't produce data truncation warnings from within cp_buffer_from_ref(). This function
is only used to make index search tuples and data truncation that occurs here has no
relation with truncated values being saved into tables.
Diffstat (limited to 'sql/sql_select.h')
-rw-r--r-- | sql/sql_select.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_select.h b/sql/sql_select.h index ab3b442ef74..caf4574fbec 100644 --- a/sql/sql_select.h +++ b/sql/sql_select.h @@ -445,7 +445,7 @@ public: const char *name() const { return "const"; } }; -bool cp_buffer_from_ref(TABLE_REF *ref); +bool cp_buffer_from_ref(THD *thd, TABLE_REF *ref); bool error_if_full_join(JOIN *join); int report_error(TABLE *table, int error); int safe_index_read(JOIN_TAB *tab); |