• unknown's avatar
    Second attempt: trying to add Statement context to sources. · ee108337
    unknown authored
    Added classes Statement, Statement_map
    Merge commit
    
    
    sql/slave.cc:
      no THD::init_for_queries() as mem_root is statement-local
    sql/sql_class.cc:
      added Statement
    sql/sql_class.h:
      Statement added
    sql/sql_parse.cc:
      no THD::init_for_queries()
    sql/sql_prepare.cc:
      current_stmt_id -> statement_id_counter
    ee108337
sql_class.cc 33.6 KB