• unknown's avatar
    Bug#17226: Variable set in cursor on first iteration is assigned · fc085d77
    unknown authored
               second iterations value
    
    During assignment to the BLOB variable in routine body the value
    wasn't copied.
    
    
    mysql-test/r/sp-vars.result:
      Add result for bug#17226.
    mysql-test/t/sp-vars.test:
      Add test case for bug#17226.
    sql/field_conv.cc:
      Honor copy_blobs flag.
    fc085d77
sp-vars.test 24.5 KB