• unknown's avatar
    fix for table/field caching mechanism · a949b869
    unknown authored
    save moving ON/USING tables conditions to WHERE clause (BUG#2794)
    
    
    sql/sql_base.cc:
      fix for table/field caching mechanism (global lock of it and right table passed as parameter)
      save moving ON/USING tables conditions to WHERE clause (BUG#2794)
    sql/sql_class.cc:
      lock for using field/table cache in Item name resolution
    sql/sql_class.h:
      lock for using field/table cache in Item name resolution
    sql/sql_insert.cc:
      lock for using field/table cache in Item name resolution
    tests/client_test.c:
      Test of PS queries with ON condition
    a949b869
sql_base.cc 72.9 KB