1. 13 Aug, 2008 1 commit
    • Narayanan V's avatar
      WL#4380 · c21fc943
      Narayanan V authored
      merging mysql-5.1 -> mysql-5.1-sea
      c21fc943
  2. 12 Aug, 2008 2 commits
  3. 11 Aug, 2008 14 commits
  4. 08 Aug, 2008 1 commit
    • Narayanan V's avatar
      WL#4380 · 041b1e6f
      Narayanan V authored
      1) Disabled abi_check rule for all compilers except gcc
      2) restored the -dI option to retain the header information.
      
      Makefile.am:
        1) changed all-local to depend on a configure variable
           that will be set based on if the compiler is gcc.
        2) restored the -dI option removed earlier since now
           only gcc is being used.
      configure.in:
        Added a check to see if gcc is being used. If it is being
        used set the ABI_CHECK variable to the abi_check target.
      include/mysql.h.pp:
        The .pp file is changed to correspond to the option
        -dI.
      041b1e6f
  5. 07 Aug, 2008 4 commits
  6. 06 Aug, 2008 6 commits
  7. 04 Aug, 2008 1 commit
  8. 01 Aug, 2008 1 commit
    • Davi Arnaut's avatar
      Bug#37003: Tests sporadically crashes with embedded server · e69f3315
      Davi Arnaut authored
      Post-merge fix: Alter linking order so that the thread linking
      flags appear last in the list. This needs to be done this way
      because some linkers will not search the thread archive again
      if a undefined symbol (pthread_kill in this case) appears later.
      
      client/Makefile.am:
        Link mysys before thread libs.
      e69f3315
  9. 31 Jul, 2008 3 commits
  10. 30 Jul, 2008 1 commit
    • Georgi Kodinov's avatar
      Bug#37662 nested if() inside sum() is parsed in exponential time · 03805cbb
      Georgi Kodinov authored
            
      min() and max() functions are implemented in MySQL as macros.
      This means that max(a,b) is expanded to: ((a) > (b) ? (a) : (b))
      Note how 'a' is quoted two times.
      Now imagine 'a' is a recursive function call that's several 10s of levels deep.
      And the recursive function does max() with a function arg as well to dive into
      recursion.
      This means that simple function call can take most of the clock time.
      Identified and fixed several such calls to max()/min() : including the IF() 
      sql function implementation.
      
      mysql-test/r/func_if.result:
        Bug#37662 test case
      mysql-test/t/func_if.test:
        Bug#37662 test case
      sql/item.cc:
        Bug#37662 don't call expensive functions as arguments to min/max
      sql/item_cmpfunc.cc:
        Bug#37662 don't call expensive functions as arguments to min/max
      sql/item_func.cc:
        Bug#37662 don't call expensive functions as arguments to min/max
      03805cbb
  11. 29 Jul, 2008 4 commits
  12. 28 Jul, 2008 1 commit
  13. 26 Jul, 2008 1 commit
    • Igor Babaev's avatar
      Fixed bug #38191. · 59229a6b
      Igor Babaev authored
      Calling List<Cached_item>::delete_elements for the same list twice
      caused a crash of the server in the function JOIN::cleaunup.
      Ensured that delete_elements() in JOIN::cleanup would be called only once.
      
      
      mysql-test/r/subselect.result:
        Added a test case for bug #38191.
      mysql-test/t/subselect.test:
        Added a test case for bug #38191.
      sql/sql_select.cc:
        Fixed bug #38191.
        Ensured that delete_elements() in JOIN::cleanup would be called only once.
      59229a6b