• unknown's avatar
    WL#1364: Store some environmental values with SPs and use at invokation · b5627bb0
    unknown authored
    sql_mode is stored and used with SPs.
    sql_select_limit is always unlimited in SPs.
    
    
    mysql-test/r/sp.result:
      Test case for mode settings.
    mysql-test/t/sp.test:
      Test case for mode settings.
    sql/sp.cc:
      Store the sql_mode with the SP and reset it on retrieval.
      sql_select_limit is always maximum (default) in an SP,
      regardless of the setting at the time of create or call.
    b5627bb0
sp.test 23.2 KB