• unknown's avatar
    Fixed SELECT INTO OUTFILE/DUMPFILE and stored procedures, and extended and · 3c88ebdc
    unknown authored
    reorganized the sp.test file.
    
    
    mysql-test/r/sp.result:
      New results from the reorganized sp.test file.
    mysql-test/t/sp.test:
      Reorganized the tests, and added a few new ones. ("fac" and more "select into")
    sql/sql_class.cc:
      Unlock tables and set thd->lock=0 in select_export::send_eof() and
      select_dump::send_eof().
      This fixes a problem with an assert() in lock_tables(), and made
      SELECT ... INTO OUTFILE and ... INTO DUMPFILE work in stored procedures.
    3c88ebdc
sp.result 6.96 KB