• unknown's avatar
    Prepared_statement deployed instead of PREP_STMT. · 32c6b0d7
    unknown authored
    
    libmysqld/lib_sql.cc:
      Prepared_statement now resides entirely in sql_prepare.cc
      Embedded versions of setup_params_data moved to sql_prepare.cc
    sql/mysql_priv.h:
      removed declarations for non-existing functions
    sql/slave.cc:
      no thd->init_for_queries() any more
    sql/sql_class.cc:
      added Statement and Statement_map classes.
      PREP_STMT replaced with Statement (Prepared_statement) and moved to
      sql_prepare.cc
    sql/sql_class.h:
      added Statement and Statement_map classes.
      PREP_STMT replaced with Statement (Prepared_statement) and moved to
      sql_prepare.cc
    sql/sql_parse.cc:
      thd->init_for_queries() doesn't exist any more
      comment moved to proper place
    sql/sql_prepare.cc:
      PREP_STMT replaced with Prepared_statement
      minor code cleanups
    tests/client_test.c:
      Later in the test we rely on order of rows, which normally is not defined.
      My patch changes the order.
    32c6b0d7
client_test.c 209 KB