summaryrefslogtreecommitdiff
path: root/sql/field.h
diff options
context:
space:
mode:
authorjimw@rama.(none) <>2006-07-12 16:33:29 -0700
committerjimw@rama.(none) <>2006-07-12 16:33:29 -0700
commitc2d8b605f29c8e54a7f06d3b68f931d773d8ee55 (patch)
tree1660ddac7e38126c61edc217faba955e6171301c /sql/field.h
parentbd183d42dcf66432d2e8051e030919a4669eaf8c (diff)
downloadmariadb-git-c2d8b605f29c8e54a7f06d3b68f931d773d8ee55.tar.gz
Bug #17608: String literals lost during INSERT query on FEDERATED table
The Federated storage engine used Field methods that had arbitrary limits on the amount of data they could process, which caused problems with data over that limit (4K). By removing those Field methods and just using features of the String class, we can avoid this problem.
Diffstat (limited to 'sql/field.h')
-rw-r--r--sql/field.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/sql/field.h b/sql/field.h
index 3b33d3651e3..09638b9a979 100644
--- a/sql/field.h
+++ b/sql/field.h
@@ -251,8 +251,6 @@ public:
ptr= old_ptr;
return str;
}
- bool quote_data(String *unquoted_string);
- bool needs_quotes(void);
virtual bool send_binary(Protocol *protocol);
virtual char *pack(char* to, const char *from, uint max_length=~(uint) 0)
{