• patg@pc248.lfp.kcls.org's avatar
    -Added quote_data and needs_quotes (moved from federated handler. · 1da60b9f
    patg@pc248.lfp.kcls.org authored
    -New tests and results
    
    logging_ok:
      Logging to logging@openlogging.org accepted
    ha_federated.h:
      removed quote_data and type_quote (now in the Field class)
    ha_federated.cc:
      moved quote_data and type_quote to field class
    field.h:
      new methods quote_data and needs_quotes declared
    field.cc:
      new field class methods quote_data and needs_quotes (per Monty's request)
    federated.test:
      more tests, joins, index tests
    have_federated_db.require:
      new name of federated system var
    federated.result:
      new test results for federated handler
    have_federated_db.inc:
      changed name of variable in test due to change in vars
    sql_analyse.cc:
      over-ridden append_escaped to take (String *, char *, uint) per requirements of 'create_where_from_key' method in federated handler.
    mysql_priv.h:
      define over-ridden append_escaped to take arguments from 'create_where_from_key' method in federated handler 
    ha_federated.cc:
      implemented "create_where_from_key" to deal properly with two-byte prefix and multi keys. Initial testing shows it works, but I still need to move quoting to field class and also look at changes per Segei's suggestions.
    1da60b9f
have_federated_db.require 46 Bytes