• unknown's avatar
    -Added quote_data and needs_quotes (moved from federated handler. · 66b62e05
    unknown 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.
    
    
    sql/mysql_priv.h:
      define over-ridden append_escaped to take arguments from 'create_where_from_key' method in federated handler
    sql/sql_analyse.cc:
      over-ridden append_escaped to take (String *, char *, uint) per requirements of 'create_where_from_key' method in federated handler.
    mysql-test/include/have_federated_db.inc:
      changed name of variable in test due to change in vars
    mysql-test/r/federated.result:
      new test results for federated handler
    mysql-test/r/have_federated_db.require:
      new name of federated system var
    mysql-test/t/federated.test:
      more tests, joins, index tests
    sql/field.cc:
      new field class methods quote_data and needs_quotes (per Monty's request)
    sql/field.h:
      new methods quote_data and needs_quotes declared
    sql/ha_federated.cc:
      moved quote_data and type_quote to field class
    sql/ha_federated.h:
      removed quote_data and type_quote (now in the Field class)
    BitKeeper/etc/logging_ok:
      Logging to logging@openlogging.org accepted
    66b62e05
have_federated_db.inc 121 Bytes