• unknown's avatar
    Fix 11 "fetch from view returns wrong data" · 4095a52a
    unknown authored
    Wrong method for creating temporary field was choosen, which results in
    sending int field with int header but lonlong data.
    
    Test case is added to mysql_client_test.c because client library is required
    to test the bug.
    
    
    
    tests/mysql_client_test.c:
      Test case for bug#11111 "fetch from view returns wrong data"
    sql/sql_select.cc:
      Fix bug #11111 "fetch from view returns wrong data"
    sql/item.h:
      Fix bug #11111 "fetch from view returns wrong data"
    4095a52a
mysql_client_test.c 355 KB