• unknown's avatar
    prevent using references on sum function (except HAVING clouse of current... · cc8b43bb
    unknown authored
    prevent using references on sum function (except HAVING clouse of current select) and forward references
    
    
    include/mysqld_error.h:
      new error message
    mysql-test/r/subselect.result:
      new error message
    mysql-test/t/subselect.test:
      new error message
    sql/item.cc:
      fix_fields indicator
      test on incorrect references
    sql/item.h:
      fix_fields indicator
    sql/item_cmpfunc.cc:
      fix_fields indicator
    sql/item_func.cc:
      fix_fields indicator
    sql/item_func.h:
      fix_fields indicator
    sql/item_strfunc.cc:
      fix_fields indicator
    sql/item_subselect.cc:
      fix_fields indicator
    sql/item_sum.cc:
      fix_fields indicator
    sql/item_sum.h:
      fix_fields indicator
    sql/item_uniq.h:
      fix_fields indicator
    sql/share/czech/errmsg.txt:
      new error message
    sql/share/danish/errmsg.txt:
      new error message
    sql/share/dutch/errmsg.txt:
      new error message
    sql/share/english/errmsg.txt:
      new error message
    sql/share/estonian/errmsg.txt:
      new error message
    sql/share/french/errmsg.txt:
      new error message
    sql/share/german/errmsg.txt:
      new error message
    sql/share/greek/errmsg.txt:
      new error message
    sql/share/hungarian/errmsg.txt:
      new error message
    sql/share/italian/errmsg.txt:
      new error message
    sql/share/japanese/errmsg.txt:
      new error message
    sql/share/korean/errmsg.txt:
      new error message
    sql/share/norwegian-ny/errmsg.txt:
      new error message
    sql/share/norwegian/errmsg.txt:
      new error message
    sql/share/polish/errmsg.txt:
      new error message
    sql/share/portuguese/errmsg.txt:
      new error message
    sql/share/romanian/errmsg.txt:
      new error message
    sql/share/russian/errmsg.txt:
      new error message
    sql/share/serbian/errmsg.txt:
      new error message
    sql/share/slovak/errmsg.txt:
      new error message
    sql/share/spanish/errmsg.txt:
      new error message
    sql/share/swedish/errmsg.txt:
      new error message
    sql/share/ukrainian/errmsg.txt:
      new error message
    cc8b43bb
errmsg.txt 13.6 KB