• unknown's avatar
    fixed BUG#1180 (changing WHERE clause of prepared statements by optimisation) · 2d7b4898
    unknown authored
    
    sql/item.h:
      constructor and method for aloning AND/OR structure of WHERE clause
    sql/item_cmpfunc.cc:
      constructor and method for aloning AND/OR structure of WHERE clause
    sql/item_cmpfunc.h:
      constructor and method for aloning AND/OR structure of WHERE clause
    sql/item_func.cc:
      constructor for aloning AND/OR structure of WHERE clause
    sql/item_func.h:
      constructor for aloning AND/OR structure of WHERE clause
    sql/sql_lex.cc:
      field for saving WHERE root
    sql/sql_lex.h:
      field for saving WHERE root
    sql/sql_prepare.cc:
      saving WHERE root
      creating new AND/OR structure before executing prepared statement
    tests/client_test.c:
      test suite for bug #1180
    2d7b4898
sql_lex.cc 36.2 KB