• unknown's avatar
    Bug #17608: String literals lost during INSERT query on FEDERATED table · abbf7ad0
    unknown authored
      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.
    
    
    mysql-test/r/federated.result:
      Add new results
    mysql-test/t/federated.test:
      Add new regression test
    sql/field.cc:
      Remove unnecessary methods
    sql/field.h:
      Remove unnecessary methods
    sql/ha_federated.cc:
      Remove use of quote_data, use String::print() to get escaping of strings,
      and don't bother with needs_quotes, just always quote values.
    abbf7ad0
field.h 59.4 KB