• unknown's avatar
    Made multiple queries (SELECT without INTO) work in SPs. · f525047d
    unknown authored
    This included bug fixes in the 4.1 protocol (actually send and receive the
    server_status flags).
    
    
    libmysql/libmysql.c:
      Pick up the server_status (with the 4.1 protocol) as well.
    mysql-test/r/sp-error.result:
      Test for "bad selects" in non-CLIENT_MULTI_QUERIES clients (as mysqltest for the
      momen; this test will have to go away eventually).
    mysql-test/t/sp-error.test:
      Test for "bad selects" in non-CLIENT_MULTI_QUERIES clients (as mysqltest for the
      momen; this test will have to go away eventually).
    sql/protocol.cc:
      Actually send the server_status flags in send_eof() (4.1 protocol), not just zero.
    sql/sp_head.cc:
      Made multiple queries (SELECT without INTO) work in SPs.
    sql/sp_head.h:
      Made multiple queries (SELECT without INTO) work in SPs.
    sql/sql_parse.cc:
      Made multiple queries (SELECT without INTO) work in SPs.
    sql/sql_yacc.yy:
      Made multiple queries (SELECT without INTO) work in SPs.
    f525047d
sql_yacc.yy 138 KB