summaryrefslogtreecommitdiff
path: root/sql/sql_select.h
diff options
context:
space:
mode:
authorsergefp@mysql.com <>2005-04-18 05:21:44 +0400
committersergefp@mysql.com <>2005-04-18 05:21:44 +0400
commita76ecc5bc78365a2ecdf1f96d9c238d5ecbe30c4 (patch)
tree666579fabdd2725c17ffedc83d49cbd6276c1daf /sql/sql_select.h
parent39f412d32950062a8a7cba2d32e1d8556e3b56ee (diff)
downloadmariadb-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.h2
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);